Skip to content

Commit

Permalink
Changes logfiles names
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIMkaRU committed Jan 4, 2022
1 parent c28ffdd commit 8a4f058
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/log.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const basePath = 'logs/'
const ext = '.log'

const logLabel = isDevEnv ? ':app-dev' : ':app'
const pathError = isEnable && (isProdEnv || isDevEnv) ? `${basePath}error${ext}` : null
const pathExcLogger = isEnable && (isProdEnv || isDevEnv) ? `${basePath}exceptions-logger${ext}` : null
const pathLog = isEnable && isDevEnv ? `${basePath}log${ext}` : null
const pathError = isEnable && (isProdEnv || isDevEnv) ? `${basePath}errors-express${ext}` : null
const pathExcLogger = isEnable && (isProdEnv || isDevEnv) ? `${basePath}exceptions-express${ext}` : null
const pathLog = isEnable && isDevEnv ? `${basePath}logs-express${ext}` : null
const enableConsole = isEnable && isDevEnv
const enableColor = isEnable && isDevEnv
const enableColorPathError = false
Expand Down

0 comments on commit 8a4f058

Please sign in to comment.