Skip to content

Can the loglevel for Logger::OUT_TEXTFILE be set in cinbox.ini? #59

@pjotrek-b

Description

@pjotrek-b

I thought the loglevel for what's being written in the logfiles could be set /inside/ the cinbox.ini file? 🤔

However, I can only find things related to setting loglevels in cinbox.php, like:

$l->setLogLevel(Logger::OUT_SCREEN, Logger::LEVEL_INFO);

And some in in lib/FileCV.php (but that's not it).

Because right now the loglevel is mixed by default:

textfile (logs) = LEVEL_INFO
screen (console) = LEVEL_NORMAL

And this seems to be hardcoded somewhere (in lib/Logger.php?)

this should be clear(er).

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