2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00
confluent/confluent_server
Jarrod Johnon 6acaac8644 Add one-call tracing to log-as-a-file
When a log object is used as a 'dumb' file target, show the origin of the
output.  The motivation here is that 'print' statements are intended to
be an unusual event that should be easily tracked down and eliminated
once their specific use has concluded.
In xcatd, running '-f' means a lot of mysterious output that is hard
to manage as they frequently print out variable contents without
searchable context.  For example, if in xcatd someone randomply prints out
a varibale with a nodename, we might see a stray:
n1
With this change (together with previous changes), the same statement
results in stdout log appearing like:
Jan 19 14:20:54   File "/opt/confluent/lib/python/confluent/plugins/hardwaremanagement/ipmi.py", line 364, in _dict_sensor
    print nodename: n1
2015-01-19 14:35:22 -05:00
..
bin Add support for RPM builds 2014-07-14 14:54:12 -04:00
confluent Add one-call tracing to log-as-a-file 2015-01-19 14:35:22 -05:00
sysvinit Cleanly handle stop/restart when not running 2014-11-18 17:02:54 -05:00
buildrpm Add support for RPM builds 2014-07-14 14:54:12 -04:00
confluent_server.spec.tmpl Modify build to avoid conflicting files 2014-11-04 09:16:01 -05:00
makesetup Add support for RPM builds 2014-07-14 14:54:12 -04:00
MANIFEST.in Add support for RPM builds 2014-07-14 14:54:12 -04:00
requirements.txt Add bits and pieces to facilitate pypi packaging 2014-05-06 15:01:35 -04:00
setup.cfg Add bits and pieces to facilitate pypi packaging 2014-05-06 15:01:35 -04:00
setup.py.tmpl Add support for RPM builds 2014-07-14 14:54:12 -04:00
VERSION Bump version number of server 2014-11-25 14:16:50 -05:00