For each element in DataMiner you can enable log level 0, 1, 2, 3, 4, 5 or 6.
What does each level mean? What is e.g. logged in level 5 that is not logged in level 4 etc?
In my usecase I'm investigating why my element goes into timeout, I want to know certain parameter values on the moment of the timeout. What's the best log level for this? I don't want to just enable the maximum logging as this is increases my log file size too fast + logging is only stored in that case of about 1 minute ago.
The basic answer is that we don't have an overview of which lines are logged at which level.
What could help, is that in each log-line you can see what the level is at which it appears in the logfile.
Lets take this line as example:
2020/12/10 09:09:29.508|SLDataMiner|14284|17044|CDataMiner::Init|DBG|3|** some logging ...
The part you need to take a look at is "|DBG|3|"
This means that this line is logged when 'Debug logging level' is set to a value higher than or equal to 'Level 3'.
Info logging level = INF
Debug logging level = DBG
Error logging level = ERR
Then we also have CRU (crucial), which will always be logged.
Note: for logfiles where you don't find these 'tags', it means that you cannot filter them based on the setting available in the logging module.