Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs in a file #489

Open
Vinushan opened this issue Mar 3, 2020 · 0 comments
Open

Logs in a file #489

Vinushan opened this issue Mar 3, 2020 · 0 comments

Comments

@Vinushan
Copy link

Vinushan commented Mar 3, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant