Skip to content

Commit

Permalink
Remove colours from CMS logs
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprdhomme committed Aug 14, 2024
1 parent e51df8d commit d0665a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cms/config/logger.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

import { formats } from '@strapi/logger'

export default {
// Remove the colors from the logs since they're not visible in GCP
format: formats.prettyPrint({ colors: false })
};

0 comments on commit d0665a9

Please sign in to comment.