On 29/04/11 16:57, Holger Hans Peter Freyther wrote:
On 04/27/2011 06:46 PM, Harald Welte wrote:
Hi Pablo!
I've recently received a bug report that somehow the config-file-stored
configuration of which log levels/subsystems to enable on stderr don't work.
This may be related to the legacy "-d DINP:DNM:... style log level
specifications, e.g. we first read the config file and then set some default
logging options usign the legacy version.
I have seen that '-e 1' specified on the CLI will be ignored (at least on
osmo-bsc). I think we should define an order of when to apply this and when to
read the config file.
It seems -e 1 is broken if:
* -d is not passed
* -d is passed after -e.
We don't check this sort of dependencies. May this be related to the
problem that you noticed?
Sorry, I misunderstood the code, my statement above is not true. I'll
investigate what Holger points out.