DataBrewery / cubes

[NOT MAINTAINED] Light-weight Python OLAP framework for multi-dimensional data analysis
http://cubes.databrewery.org
Other
1.49k stars 314 forks source link

Logs in a file #489

Open Vinushan opened 4 years ago

Vinushan commented 4 years ago

Hi, I have set logging to debug level and started the server. The logs are getting printed in my console but not written to a file.

My slicer.ini file looks like this:

[workspace]
log: /home/user/cubes.log
log_level: debug

[server]
host: localhost
port: 5000
reload: yes
prettyprint: yes
allow_cors_origin: *
json_record_limit: 100000

[store]
type: sql
url: postgresql://postgres:password@localhost:5432/test_db

[models]
main: model.json

My Console output looks like this

2020-03-03 18:54:17,107 WARNING Server running under DEBUG, so logging level set to DEBUG.
2020-03-03 18:54:17,109 DEBUG --------------------
2020-03-03 18:54:17,109 DEBUG Models root set to current directory
2020-03-03 18:54:17,109 DEBUG Workspace calendar timezone: None first week day: 0
2020-03-03 18:54:17,219 DEBUG Registered store 'default'
2020-03-03 18:54:17,219 DEBUG Loading model main
2020-03-03 18:54:17,219 DEBUG Importing model from model.json. Provider: None Store: None NS: None
2020-03-03 18:54:17,219 DEBUG Server authentication method: none
 * Debugger is active!
 * Debugger PIN: 219-943-117

Kindly let me know if I have to configure anything else