Commit Graph

21 Commits

Author SHA1 Message Date
David Wilson 7dacb68eeb issue #552: include process identity in log messages. 2019-02-25 17:25:09 +00:00
David Wilson 0f30808234 ansible: quiesce boto logger; closes #541. 2019-02-13 17:28:01 +00:00
David Wilson 1f77d24bec Update copyright year everywhere. 2019-02-13 16:16:49 +00:00
David Wilson ae5a471e31 issue #539: disable logger propagation. 2019-02-13 03:48:56 +00:00
David Wilson f67960848b issue #61: unused import (reported by LGTM) 2019-01-20 19:45:34 +00:00
David Wilson 17dda781c0 issue #317: ansible: fix log filtering in several cases
* mitogen/ansible_mitogen should only generate ERROR-level logs in
  log_path unless -vvv is enabled.
* Targets were accidentally configured to always have DEBUG set, causing
  many log messages to be sent on the wire even though they would be
  filtered in the master.

Closes #317.
2018-07-23 13:33:08 -07:00
David Wilson 417e02bd6d ansible: copy Ansible's method for finding the display. 2018-07-22 16:25:06 -07:00
David Wilson 0eb77b5f7c utils: always enable microsecond logging.
It's too useful, and the logs are fairly out of control already, may as
well just capture everything in the first pass.
2018-07-07 14:55:47 +01:00
David Wilson 6025412050 issue #272: add a blacklist for noisy target loggers 2018-06-23 20:11:22 +01:00
David Wilson 2fbe1f1b54 Get integration tests running under 2.6.
Closes #270
Closes #273
2018-06-19 18:46:30 +01:00
David Wilson 6fb3a76e68 master: annotate LogForwarder messages.
mitogen/master.py:
    Annotate forwarded log entries with their original source, logger
    name, and message.

ansible:
    mark stderr in red with -vvv

    Tempting to make this appaer 100% of the time, but some crappy
    bashrcs may cause lots of junk to be printed.
2018-04-27 03:11:06 +01:00
David Wilson 296683b130 ansible: always display Mitogen errors and warnings.
They're no longer buried in -vvv output.
2018-04-19 22:10:52 +01:00
David Wilson 9067a7b173 ansible: Move setLevel() bits together. 2018-03-30 14:42:54 +05:45
David Wilson 36e1ae15fd issue #172: prevent 'No handlers..' error being printed. 2018-03-30 01:10:30 +05:45
David Wilson e0c4d6b348 ansible: Quick fix for #172. 2018-03-30 00:13:22 +05:45
David Wilson 9e514240a1 issue #156: always enable microsecond logging 2018-03-20 09:12:38 +05:45
David Wilson 4d96d0c1af issue #156: fix duplicate -vvvv logging 2018-03-19 23:48:08 +05:45
David Wilson 59dab72e29 ansible: log ansible_mitogen.* to -v too. 2018-03-19 21:58:33 +05:45
David Wilson 6bd4c5ead5 docs: Ansible logging update (#111) 2018-03-19 21:58:33 +05:45
David Wilson 016d47aa91 Log and track PIDs everywhere for Ansible. 2018-03-19 21:58:33 +05:45
David Wilson 7ab1af043e ansible: redirect logging into display 'framework'. closes #111 2018-03-19 21:58:32 +05:45