Skip to content

Logs in a file #489

Description

@Vinushan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions