I have created a Cognite File Extractor from a local folder, and I want to create a log of all runs in a sub-folder. When changing the log level on the console and adding file as storage, nothing changes.
from config file:
logger:
console:
level: DEBUG
file:
level: INFO
path: ".\logs\log.txt" //also tried with full path
retention: 7
Are there some more steps to get the logger to change?
I have run it both as local and admin.
Hedda
Best answer by roman.chesnokov
Hello @Nonstad, can you provide more details? What actions did you take, what were your expectations, and what were the results? Please note that the "level" feature in the console section is only applicable to logs displayed in the console, not those saved in a file. As far as I see the debug level provides additional heartbeat logs every 10 minutes. Also, be aware that you need to restart the extractor after modifyinig the configurastion.
Sorry, misread this and thought this was about Functions. Replied to that, but see now you were asking about something else. :). Didn’t see a way to delete a post...
Hello @Nonstad, can you provide more details? What actions did you take, what were your expectations, and what were the results? Please note that the "level" feature in the console section is only applicable to logs displayed in the console, not those saved in a file. As far as I see the debug level provides additional heartbeat logs every 10 minutes. Also, be aware that you need to restart the extractor after modifyinig the configurastion.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.