weko
354a04f0f6
Up level for some logs to critical
2 years ago
weko
a80aeb6715
add critical log level
2 years ago
R4SAS
84d4e074ce
add loglevel checker, fix fields passing to translated string formatter
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS
c210553a39
getting rid of old c99 array designators
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS
6b4ffcff5a
cleanup code (spaces, tabs)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
94661f697b
[log] update log messages ( closes #1693 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS
3100d4f902
move thread naming to util
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
36473e3889
add naming to threads
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS
8bae4975fb
add copyright headers
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
R4SAS
7a5146ea74
fix code syle(spaces->tabs, tabulations)
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
orignal
d7d70b707f
configurable throw function
5 years ago
R4SAS
e6fdf5ad8d
[Log] create logfile even if loglevel is "none"
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
mewmew@i2p
ed2818eaa2
qt log viewer now works
7 years ago
R4SAS
7477d2c219
fix forgotten log colors
7 years ago
R4SAS
a6fb3b602e
add loglevel none (closing #998 )
7 years ago
R4SAS
100f3380c4
fix upnp definitions and make cmake silent ( #999 )
7 years ago
Darknet Villain
681810ea38
Use setter method for m_TimeFormat, set time format in Daemon.cpp instead of Log.cpp
7 years ago
Darknet Villain
d500fe66fd
Add option logclftime=true for writing full date and time to logs
7 years ago
Jeff Becker
4cc3b7f9fb
restructure build to separate the 3 main components into 3 subdirectories
...
libi2pd for core libs
libi2pd_client for i2pd client libs
daemon for i2pd daemon libs
8 years ago
orignal
0ad3078524
open log stream in log thread
8 years ago
orignal
cd8169c0a5
reopen log upon daemon start
8 years ago
orignal
d91691c344
write to log through the separate thread
8 years ago
hagen
10ebcff48e
* Log.{cpp,h}:
...
* use colors only when using stdout
* use static string array instead bunch of #define's
8 years ago
brain5lug
fee5f959fd
perfect forwarding for logging arguments
8 years ago
hagen
c9836cf0f7
* fix doxygen warnings
9 years ago
orignal
6a453bcc8a
check for null pointer
9 years ago
orignal
5a2c4919c6
close previous file first upon repon
9 years ago
hagen
1fae3baaa3
* logger: print also thread id
9 years ago
hagen
38103aaac5
* logger: explicit allow log output
9 years ago
hagen
905cad56d8
* add note
9 years ago
hagen
17fb419fb1
* new logs: code
9 years ago
Jeff Becker
c4e5a130ee
don't break win32
9 years ago
Jeff Becker
5261a3e845
add syslog logging option
9 years ago
orignal
61675c20d8
don't delete log file upon HUP
9 years ago
orignal
98d5e0b56d
#355 . reopen log file by SIGHUP
9 years ago
orignal
7ca1cfab1a
use shared_ptr for log's stream
9 years ago
hagen
05043f30dc
* tune logs
9 years ago
hagen
a0e8fe5848
* implement --loglevel option
9 years ago
hagen
6c0dfc4356
* sane log messages: Log.cpp
9 years ago
orignal
54b2c8bd7e
backport fix build for clang
9 years ago
ipslot
dfd41385b1
Update Log.cpp
...
set default log to std::cerr stream
10 years ago
orignal
6bad2daa62
fixed build errors for gcc 4.6
10 years ago
orignal
7c13194d5a
don't recalculate timestamp for each log message
10 years ago
orignal
bb05bcf39f
pass instance of std::ostream for logging from API
10 years ago
Kill Your TV
dd4283b7c1
Revert "fixed typo" and "fixed crash for Windows"
...
This reverts commits c8a80a497d
and f7791e5289
This didn't actually fix Windows crash problem. In fact, it still
crashed without --log=0 being set. Changes to the i2pd.vcxproj file
fixed the crashes with VS 2013 > update 1. i2pd now works with VS 2013
Update 3 and Update 4 RC.
Since these changes didn't have the intended effect, let's remove them.
10 years ago
orignal
c8a80a497d
fixed typo
10 years ago
orignal
f7791e5289
fixed crash for Windows
10 years ago
orignal
11a0bbc368
different log levels
10 years ago
orignal
a25fe85b4d
print time without date
11 years ago
Mikal Villa
05fa6757ce
Adding timestamp to logger.
11 years ago