summaryrefslogtreecommitdiff
path: root/python/skytools/skylog.py
AgeCommit message (Collapse)Author
2013-04-30skytools.skylog: added more fields to UdpTNetStringsHandler log messagemartinko
2013-04-30skytools.skylog: moved hostaddr resolving to module initmartinko
No need to do it per log call as hostname is constant currently.
2013-04-18skytools.skylog: initial implementation of UdpTNetStringsHandlermartinko
2012-12-20skytools: fix submodule __all__ listsMarko Kreen
dbservice: TableAPI was missing from __all__ but was available on top-level. Fix. natsort.py, skylog.py: __all__ was missing, add. Add only items that already were under top-level.
2012-12-13skytools.skylog: unified SysLogHandler and SysLogHostnameHandlermartinko
2012-12-11skytools.skylog: recreate udp socket periodically to work around icmp issuemartinko
"When skylog destination host goes down it doesn't create a new socket when ICMP error message is received." [Jira: DRB-1774]
2012-12-04white noisemartinko
2012-04-09skytools.skylog: make sysloghander compatible with both 2.6 and 2.7Marko Kreen
2012-04-05Merge remote branch 'intgit/master'Marko Kreen
2012-04-05skylog: stop using standard SysLogHandler, it's brokenMarko Kreen
It fails to handle unicode strings - it puts BOM in wrong place. Wrap logging.handlers implementation in class that simply drops the BOM addition.
2012-04-02skytools.config: improved compatibility with logging.Loggermartinko
2012-02-13skylog.py: added missing logger aliases (fatal, warn)martinko
2011-12-15SkyLogger: addHandler() compat methodMarko Kreen
2011-12-07skylog: use LoggerAdapter to give .trace methodMarko Kreen
Replacing the default logger class seems dubious.
2011-12-06Merge branch 'master' of skype-git:/git/dba/skytools-3martinko
2011-12-06skytools.skylog: fixed SkyLogger.trace() vs funcName format attributemartinko
2011-12-05reworked custom logging initmartinko
SkyLogger is no more installed automatically on scripting.py loading, rather exlicitly when our custom getLogger() function is called.
2011-12-01skylog: add job_name, service_name, hostname to LogRecordMarko Kreen
This makes those fields usable everywhere. As discussed in comment, no better way to do it. Also remove few per-msg gethostname() calls.
2011-11-29skylog: record.name is not jobname anymoreMarko Kreen
2011-04-06Avoid direct symbol importsMarko Kreen
Always use import skytools def xx(): skytools.foo this allows maximum laziness when importing.
2010-11-04changed syslog handler to send service typeAleksei Plotnikov
2010-11-02added syslog logging handler with hostname supportAleksei Plotnikov
2009-09-10python/: clean up importsMarko Kreen
- Remove unused imports - Remove relative imports
2008-02-28allow config-less operationMarko Kreen
2007-07-23skytools: separate psycopg specific codeMarko Kreen
2007-07-16skytools: support for psycopg2Marko Kreen
2007-03-13final public releaseskytools_2_1Marko Kreen