Skip to content

Logging failure message in Keter logs #67

@patritzenfeld

Description

@patritzenfeld

this message is logged each time the app is refreshed in Keter:

Can't open log file "log/error.log".
Exception: log/error.log: openFile: does not exist (No such file or directory)
Logging to stderr instead. **THIS IS BAD, YOU OUGHT TO FIX THIS**

I was under the impression this is caused by some incorrect configuration in Keter, but it seems this is actually triggered by CodeWorld's own logging mechanism that isn't correctly initialized through the docker build.

I haven't been able to locate the source of this, as searching for the location of the file and the error message does not yield any results. The server has a dependency on fast-logger and this is my suspect as to where the message comes from, but it could be something else entirely as well.

Ideally, we would want to locate where logging is configured and just let it log to stderr by default, as that is directly captured by Keter anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions