tooptoop4 opened a new issue #9928:
URL: https://github.com/apache/incubator-superset/issues/9928


   my startup command is:
   
   /usr/bin/python3 /usr/local/bin/gunicorn -w 4 -k gevent --timeout 300 -b 
0.0.0.0:8786 --limit-request-line 0 --limit-request-field_size 0 
superset.app:create_app() --access-logfile 
/home/ec2-user/superset/logs/access.log --error-logfile 
/home/ec2-user/superset/logs/err.log
   
   my config.py contains
   ```
   LOGGING_CONFIGURATOR = DefaultLoggingConfigurator()
   
   # Console Log Settings
   
   LOG_FORMAT = "%(asctime)s:%(levelname)s:%(name)s:%(message)s"
   #todo? info?
   LOG_LEVEL = "DEBUG"
   
   # ---------------------------------------------------
   # Enable Time Rotate Log Handler
   # ---------------------------------------------------
   # LOG_LEVEL = DEBUG, INFO, WARNING, ERROR, CRITICAL
   
   ENABLE_TIME_ROTATE = True
   TIME_ROTATE_LOG_LEVEL = "DEBUG"
   #FILENAME = os.path.join(DATA_DIR, "superset.log")
   FILENAME = '/home/ec2-user/superset/logs/superset.log'
   ROLLOVER = "midnight"
   INTERVAL = 1
   BACKUP_COUNT = 2
   
   # Custom logger for auditing queries. This can be used to send ran queries 
to a
   # structured immutable store for auditing purposes. The function is called 
for
   # every query ran, in both SQL Lab and charts/dashboards.
   # def QUERY_LOGGER(
   #     database,
   #     query,
   #     schema=None,
   #     user=None,
   #     client=None,
   #     security_manager=None,
   # ):
   #     pass
   QUERY_LOGGER = None
   ```
   
   but lines in /home/ec2-user/superset/logs/superset.log are not prefixed with 
a timestamp


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to