Skip to content

lib will not work when used in a deamon/service #18

Open
@ChriD

Description

@ChriD

Hi,

The lib wont work on a DietPi linux distro when used in a deamon / service
The logger you use tries to write/open a file and does not have the permisisons to do that.
An uncaught error occurred: Error: ENOENT: no such file or directory, open '/logs/all.log

I do not want to give the service i create any writable access to the filesystem

If i remove the logger instance from the lib it works fine.
I see the lib is in development and it would be nice if you consider to allow disableing the logging to file.

Thanks & Have a nice day

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions