Daniel Nichter
|
dd5b2fb449
|
Make Percona::Agent::Logger::debug() offline (--no-log-api) only. Change most info() to debug() to reduce agent's verbosity.
|
2013-09-19 11:33:33 -07:00 |
|
Daniel Nichter
|
dc8fb90173
|
Fix it again, again.
|
2013-06-16 23:12:09 -07:00 |
|
Daniel Nichter
|
4f3fa288b1
|
Fix it again--the pitfalls of working so long and late.
|
2013-06-16 23:06:06 -07:00 |
|
Daniel Nichter
|
c2af32cd0f
|
Fix Logger error spamming.
|
2013-06-16 22:59:43 -07:00 |
|
Daniel Nichter
|
61bf5c5e24
|
Change the error spam threshold from 100 to 10.
|
2013-06-16 22:54:07 -07:00 |
|
Daniel Nichter
|
9215fd5a02
|
Add 2 safeguards to Agent::Logger to avoid excessive memory usage and error spamming.
|
2013-06-16 22:37:42 -07:00 |
|
Daniel Nichter
|
a26792e2fd
|
New --install output: quieter, more consistent.
|
2013-06-14 13:49:58 -07:00 |
|
Daniel Nichter
|
a54f59626f
|
Fix send_data() and run_services(). Add --interactive. Print message about starting online logging in start_online_logging() to avoid false-positive. eval send_data() and run_service() to catch spurious errors.
|
2013-06-11 11:11:11 -07:00 |
|
Daniel Nichter
|
b40db4ac7b
|
Allow online logging to be disabled.
|
2013-06-11 10:36:42 -07:00 |
|
Daniel Nichter
|
058bc30e27
|
Actually include the n_lines in the log entry line.
|
2013-06-10 20:15:16 -07:00 |
|
Daniel Nichter
|
4db9aac13b
|
Fix typo in run_services(). Print random stuff on STDERR as warnings.
|
2013-06-10 20:11:03 -07:00 |
|
Daniel Nichter
|
8641d55a4e
|
Fix log entry line regex.
|
2013-06-10 20:02:32 -07:00 |
|
Daniel Nichter
|
bee0c7a5f1
|
Handle multi-line log events.
|
2013-06-10 19:59:39 -07:00 |
|
Daniel Nichter
|
6e3ba2ce24
|
Make Logger data_ts and service attribs rw.
|
2013-06-09 20:05:54 -07:00 |
|
Daniel Nichter
|
ad4e9a9207
|
Fix pipe handling so all log entries are written.
|
2013-06-09 19:29:52 -07:00 |
|
Daniel Nichter
|
aadb5dbd80
|
Queue buffered log entries when destroyed.
|
2013-06-09 17:33:01 -07:00 |
|
Daniel Nichter
|
8eff03c294
|
Add pid to LogEntry. Use online logging for --send-data.
|
2013-06-09 17:15:16 -07:00 |
|
Daniel Nichter
|
34bc178cd8
|
Rewrite Logger using pipes because Perl threads cause a small memory leak.
|
2013-06-09 15:53:35 -07:00 |
|
Daniel Nichter
|
e26a8744ef
|
Queue and log all entries online.
|
2013-06-09 11:54:10 -07:00 |
|
Daniel Nichter
|
bcb3758f64
|
Make Percona/Agent/Logger always log online.
|
2013-06-09 10:31:56 -07:00 |
|
Daniel Nichter
|
2dbe188d5b
|
Add service, data_ts, and entry_ts to LogEntry resource. Add corresponding attribs to Logger, as well as queue_wait.
|
2013-05-28 20:00:59 -07:00 |
|
Daniel Nichter
|
99592409e6
|
Add Logger::stop_online_logging().
|
2013-05-20 14:03:39 -07:00 |
|
Daniel Nichter
|
52e37e2dc2
|
Fix stopping logger thread for real.
|
2013-05-19 12:46:47 -07:00 |
|
Daniel Nichter
|
52d9a91b4d
|
Fix stopping the logging thread on Ctrl-C, I think.
|
2013-05-19 12:09:51 -07:00 |
|
Daniel Nichter
|
e8fc50dad1
|
Enable online logging manually in Logger::enable_online_logging() instead of BUILD() because threads don't share data.
|
2013-05-17 09:59:20 -07:00 |
|
Daniel Nichter
|
fe50f5d916
|
Fix type: _message_queue, not message_queue.
|
2013-05-17 09:47:36 -07:00 |
|
Daniel Nichter
|
ea481471c0
|
Always build message queue, don't dequeue until it exists though.
|
2013-05-17 09:45:09 -07:00 |
|
Daniel Nichter
|
e2aab02bee
|
Add sleep time between log queue sends.
|
2013-05-17 09:36:36 -07:00 |
|
Daniel Nichter
|
df6ba9f3a5
|
First implementation of online logging.
|
2013-05-17 09:32:32 -07:00 |
|
Daniel Nichter
|
a0ba15c27e
|
Implement Percona::Agent::Logger without logging via API yet.
|
2013-05-16 16:22:36 -07:00 |
|
Daniel Nichter
|
82af5eaef1
|
Create lib/Percona/Agent/Logger.pm for asynchronous agent status logging via the API.
|
2013-05-15 18:31:08 -07:00 |
|