[Nut-upsdev] No logging

Kiss Gabor (Bitman) kissg at ssg.ki.iif.hu
Fri May 20 08:50:35 UTC 2011


Dear folks,

strace shows that snmp-ups driver writes to stderr:

[pid 21825] write(2, "No log handling enabled - turnin"..., 52) = 52
 | 00000  4e 6f 20 6c 6f 67 20 68  61 6e 64 6c 69 6e 67 20  No log h andling  |
 | 00010  65 6e 61 62 6c 65 64 20  2d 20 74 75 72 6e 69 6e  enabled  - turnin |
 | 00020  67 20 6f 6e 20 73 74 64  65 72 72 20 6c 6f 67 67  g on std err logg |
 | 00030  69 6e 67 0a                                       ing.              |

However I'm unable to find this string in the source.
Where it is coming from?

BTW. Where could I enable logging? :-) (version 2.6.0)

Thanks

Gabor



More information about the Nut-upsdev mailing list