Skip to content

Commit 24930df

Browse files
authored
Merge pull request #560 from FlowiseAI/bugfix/LogPath
Bugfix/Update log path
2 parents ae50443 + 551b0d5 commit 24930df

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Flowise support different environment variables to configure your instance. You
136136
| FLOWISE_USERNAME | Username to login | String |
137137
| FLOWISE_PASSWORD | Password to login | String |
138138
| DEBUG | Print logs from components | Boolean |
139-
| LOG_PATH | Location where log files are stored | String | `your-path/Flowise/logs` |
139+
| LOG_PATH | Location where log files are stored | String | `your-path/Flowise/packages/server` |
140140
| LOG_LEVEL | Different levels of logs | Enum String: `error`, `info`, `verbose`, `debug` | `info` |
141141
| DATABASE_PATH | Location where database is saved | String | `your-home-dir/.flowise` |
142142
| APIKEY_PATH | Location where api keys are saved | String | `your-path/Flowise/packages/server` |

packages/server/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Flowise support different environment variables to configure your instance. You
3939
| FLOWISE_USERNAME | Username to login | String |
4040
| FLOWISE_PASSWORD | Password to login | String |
4141
| DEBUG | Print logs from components | Boolean |
42-
| LOG_PATH | Location where log files are stored | String | `your-path/Flowise/logs` |
42+
| LOG_PATH | Location where log files are stored | String | `your-path/Flowise/packages/server` |
4343
| LOG_LEVEL | Different levels of logs | Enum String: `error`, `info`, `verbose`, `debug` | `info` |
4444
| DATABASE_PATH | Location where database is saved | String | `your-home-dir/.flowise` |
4545
| APIKEY_PATH | Location where api keys are saved | String | `your-path/Flowise/packages/server` |

packages/server/src/utils/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dotenv.config({ path: path.join(__dirname, '..', '..', '.env'), override: true }
77

88
// default config
99
const loggingConfig = {
10-
dir: process.env.LOG_PATH ?? path.join(__dirname, '..', '..', '..', '..', 'logs'),
10+
dir: process.env.LOG_PATH ?? path.join(__dirname, '..', '..', 'logs'),
1111
server: {
1212
level: process.env.LOG_LEVEL ?? 'info',
1313
filename: 'server.log',

0 commit comments

Comments
 (0)