Jason Volk
72a3ff2856
ircd: Employ path_string() at various callsites.
2019-02-07 22:16:19 -08:00
Jason Volk
5b3bee79a6
ircd::fs: Normalize buffering for path interface; add path features.
2019-01-25 11:49:24 -08:00
Jason Volk
2886924bf0
ircd::fs: Reorg path interface related.
2019-01-25 10:39:37 -08:00
Jason Volk
95cb4329fe
ircd::log: Remove unconditional critical output from stdout (remains for stderr).
...
Removed due to mark() causing critical output.
2019-01-17 14:54:20 -08:00
Jason Volk
cbf456a388
ircd: Rename and refactor ircd::assertion interface into ircd::panic.
2019-01-13 16:37:31 -08:00
Jason Volk
ab121835af
ircd::log: Log critical messages to all outputs and ignore all masks.
2019-01-03 15:56:21 -08:00
Jason Volk
3466597981
ircd::fs: Various reorg; cleanup.
2018-12-29 19:43:17 -08:00
Jason Volk
d786079fca
ircd::log: Check if ios is available as a condition for vlog_threadsafe().
2018-12-28 13:24:33 -08:00
Jason Volk
8e8602e08a
ircd::log: Skip some operations for log levels not compiled in.
2018-12-22 17:24:49 -08:00
Jason Volk
2d90469f6b
ircd::log: Tweak defaults.
2018-12-19 14:14:28 -08:00
Jason Volk
5a0a9989e4
ircd::log: Rename facility to level.
2018-12-19 12:52:08 -08:00
Jason Volk
00e27b070e
ircd::log: Control logging with conf items.
2018-12-18 18:10:06 -08:00
Jason Volk
f1948d38e0
ircd::log: Create log directory at runtime rather than install.
2018-12-15 20:29:54 -08:00
Jason Volk
76ac576f53
ircd::log: Improve reflection related; add reverse reflection.
2018-12-12 08:47:13 -08:00
Jason Volk
19f1929b1f
ircd::log: Use string_view for format string arguments.
2018-12-10 13:02:17 -08:00
Jason Volk
3f939367c0
ircd::log: Add console_enable/disable for all facilities.
2018-12-05 19:00:10 -08:00
Jason Volk
0787246e23
ircd::log: Make buffer tls.
2018-10-18 17:32:18 -07:00
Jason Volk
3f064ed172
ircd::log: Eliminate stack buffers; simplify w/ error directory to stderr.
2018-08-17 12:51:48 -07:00
Jason Volk
ccefb9d354
ircd::log: Remove old cruft.
2018-08-12 16:30:51 -07:00
Jason Volk
a3db6f2a95
ircd: Replace iostream include with iosfwd to elide inits in every unit.
2018-07-01 14:29:52 -07:00
Jason Volk
8d819cd3f5
ircd::log: Minor cleanup.
2018-05-03 20:08:24 -07:00
Jason Volk
a13c11c93c
ircd::log: Fix showing the other name during duplicate snote check.
2018-04-24 18:00:12 -07:00
Jason Volk
2e3e8bc0d5
ircd::log: Add masking by name; various improvements.
2018-04-23 17:20:00 -07:00
Jason Volk
ca138a4338
ircd::log: Give log::log the instance list w/ construction checks.
2018-04-23 17:20:00 -07:00
Jason Volk
27ff5e9be1
ircd::log: Objectify mark / vlog related.
2018-04-23 17:20:00 -07:00
Jason Volk
e598a27d7a
ircd::log: Use string_view for named log instance due to dominant use-case.
2018-04-23 17:20:00 -07:00
Jason Volk
88f5937559
ircd::log: Update the log::mark() argument to use string_view.
2018-04-20 15:22:50 -07:00
Jason Volk
bd60c2cd80
ircd::log: Add two new log facilities; comments on facilities.
2018-03-15 22:25:16 -07:00
Jason Volk
d50ef4b45f
ircd::log: Add interface to toggle facility to console.
2018-02-21 16:13:49 -08:00
Jason Volk
f04ba38b42
ircd: Rename the stream_buffer to window_buffer.
2018-02-07 21:54:41 -08:00
Jason Volk
45e9f7304f
ircd: Call log::fini; flushing on runlevel change / halt.
2018-02-07 12:16:17 -08:00
Jason Volk
be624ca7f6
Update Copyrastafaris.
2018-02-05 21:24:34 -08:00
Jason Volk
4ce6a8ac0a
ircd: Remove various cruft.
2018-01-22 00:54:52 -08:00
Jason Volk
0f0c50017a
ircd::logger: Take stuff off stderr to not compete with console input.
2018-01-12 16:06:01 -08:00
Jason Volk
cd4586e780
ircd: Remove these extra flushes/clears.
2017-12-24 21:54:59 -07:00
Jason Volk
47293f2dc7
ircd: Simplify logger with stream_buffer.
2017-12-24 21:54:59 -07:00
Jason Volk
f4e85af4c2
ircd::log: Use reentrance_assertion; make principal buffer static.
2017-12-24 21:54:59 -07:00
Jason Volk
a046a56d0d
ircd: Wrap the std::terminate() handler and add some related toys.
2017-11-30 11:23:46 -08:00
Jason Volk
1b1e9ace7a
ircd::log: Polishing and commentary and assertions.
2017-11-30 11:23:45 -08:00
Jason Volk
2902fcf71d
ircd/charybdis: Fix these stream manipulations.
2017-11-30 11:23:42 -08:00
Jason Volk
f36d3e2209
ircd::log: Fix these clear and flush points.
2017-11-30 11:23:41 -08:00
Jason Volk
ae34691610
ircd::log: Optimize logger to use a single buffer + single write.
2017-11-30 11:23:41 -08:00
Jason Volk
a67228e8b5
ircd::log: Allow CRITICAL log messages to break through suppression.
2017-11-30 11:23:39 -08:00
Jason Volk
b83d7da7a0
ircd::log: Make sure the stream is flushed and reset when relinquishing control.
2017-10-19 01:38:25 -07:00
Jason Volk
0be93870ea
ircd::log: Address any logger reentrancy; various cleanup.
2017-10-17 00:41:10 -07:00
Jason Volk
37308b1672
ircd::log: Add context name and id into logger format.
2017-10-15 21:27:36 -07:00
Jason Volk
dffe222a78
ircd: Improve date utils; add date formatted string output; related.
2017-10-11 20:54:01 -07:00
Jason Volk
2839eb4b50
ircd::log: Make logger threadsafe by injecting other thread's messages into ios.
2017-10-11 18:18:20 -07:00
Jason Volk
b207b9e909
ircd: Rename ircd::scope to ircd::unwind.
2017-09-24 18:16:41 -07:00
Jason Volk
d9a4f06bf6
ircd: Employ namespace scope extensions from c++1z/gnu++14.
...
This is not a move to c++17. If the compiler happens to have support
for c++17 namespace scope resolution, they have been kind enough to
backport it to gnu++14. This limits our support for really old c++14
compilers, but that was limited anyway. GCC 6.1 and clang 3.6 tested.
2017-09-08 03:47:46 -07:00