Hello, guys.
1) Is there any way to use another log destination for some special data?
Ideally, i would like to log app-wide messages to /var/log/my_app.log (with
several rotated parts) and some of important network data to another
location (1 file per day). It looks like booster::log has a lack of
functionality :( Dont you want to switch to spdlog?
2) I need to reload configuration, at least application-specific parts. Wat
is the best way to achieve it in multithreaded environment? Do I need to
make some kind of synchronized wrapper for this part of settings? It would
be very useful to implement SIGHUP to refresh logging, custom and, may be,
other settings.
Thanks.
Andrey
|