Django logging expert
Budget: $10 – $30 USD
I need some help in django logging.
Basically what I am going to do is to print logs above INFO level in console, and above WARNING in file.
The file name should be current date for example 2022-02-23.log and the content should be in json format.
For example. {
"level": "WARNING",
"timestamp": "2022-02-15T18:45:38Z",
"message": "Some warning message"
}
For console log it should be [current time] log level: log message format.
So it should work when I try following.
import logging
logging.info('some info log')
logging.warning('some warning log')
We have to use Django logging function.
Write "I can do django logging" in the beginning of your proposal.
Basically what I am going to do is to print logs above INFO level in console, and above WARNING in file.
The file name should be current date for example 2022-02-23.log and the content should be in json format.
For example. {
"level": "WARNING",
"timestamp": "2022-02-15T18:45:38Z",
"message": "Some warning message"
}
For console log it should be [current time] log level: log message format.
So it should work when I try following.
import logging
logging.info('some info log')
logging.warning('some warning log')
We have to use Django logging function.
Write "I can do django logging" in the beginning of your proposal.