Skip to content

Commit

Permalink
Merge pull request #22 from ZIMkaRU/feature/change-logfiles-names
Browse files Browse the repository at this point in the history
Change logfiles names
  • Loading branch information
prdn authored Jan 31, 2022
2 parents ea2c785 + 8a4f058 commit f0c6c40
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 f0c6c40

Please sign in to comment.