Closed Zokalyx closed 2 years ago
You can change the output log level in the logging config at the start of the file. WARN as example will only output LOGGER.warn and LOGGER.error
Which data does Heroku provides? ( The Screenshot doesn't contain anything )
I still want to see info level log, but I want each print to fit in its own line.
Yeah my bad, I automatically assumed that all of the black text was part of the logging, but apparently not. I was talking about 2022-0129T17:26:53.583408+00:00 app[worker.1]
. It doesn't look like this can be modified :(
As a "temporary" measure, I will remove the timestamps from the new logger. I won't change this repo, just the Heroku one. (Maybe I should sync the changes?)
EDIT: I'm also modifying the lengths of each "part" of the logging format and adding a newline right before the content of the log. New logs look like this:
Seems like Heroku already provides some of the same logging format as the one that's in the code![image](https://user-images.githubusercontent.com/36007346/151671012-8fae43ce-f4f8-4277-bcc6-86fffe4c9587.png)
_Originally posted by @Zokalyx in https://github.com/Zokalyx/theconfluence/pull/1#discussion_r795077571_