[Date Prev][Date Next] [Chronological] [Thread] [Top]

Logging: -d -1 doesn't work (ITS#1144)



Full_Name: Simon Wilkinson
Version: CVS HEAD
OS: Linux
URL: 
Submission from: (NULL) (129.215.199.88)


Providing -d -1 doesn't work with the NEWLOGGING code. This is because
global_value
is a signed int, and less-than comparisons are done between it and the reported

levels.

I guess the fix would be to make global_value INT_MAX if -1 is passed to 
lutil_log_initialize - I could provide a patch for this if desired.