You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/09/17 21:42:38 UTC

[GitHub] [superset] konfusator commented on issue #3294: LOG_FORMAT is not applied to TimedRotatingFileHandler

konfusator commented on issue #3294:
URL: https://github.com/apache/superset/issues/3294#issuecomment-922097536


   Hello,
   
   this is still the case in 1.3.0 and can be fixed via
   
   ```
   @@ -62,6 +62,7 @@
                    interval=app_config["INTERVAL"],
                    backupCount=app_config["BACKUP_COUNT"],
                )
   +            handler.setFormatter(logging.Formatter(app_config["LOG_FORMAT"]))
                logging.getLogger().addHandler(handler)
    
            logger.info("logging was configured successfully")
   ```
   in utils/logging_configurator.py


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org