Takeshi Nakatani
|
a0f347b10f
|
Added no_time_stamp_ms option mainly for testing
|
2021-02-20 20:24:26 +09:00 |
|
Andrew Gaul
|
bf33fe7f55
|
Increase buffer size to avoid warning (#1550)
This can be up to 54 bytes.
Co-authored-by: Takeshi Nakatani <ggtakec@gmail.com>
|
2021-02-07 12:26:58 +09:00 |
|
Carsten Grohmann
|
4c6690f5f0
|
Add timestamps to debug log and cache integrity check (#1540)
* Add UTC timestamp to debug output
for easier correlation with external events
Old output:
$ s3fs mybucket /bucket/ -o curldbg,dbglevel=debug -d -d -f
[CRT] s3fs_logger.cpp:LowSetLogLevel(201): change debug level from...
[INF] s3fs.cpp:set_mountpoint_attribute(3989): PROC(uid=0, ...
New output:
$ s3fs mybucket /bucket/ -o curldbg,dbglevel=debug -d -d -f
2021-01-28T21:09:16.264Z [CRT] s3fs_logger.cpp:LowSetLogLevel(202):...
2021-01-28T21:09:16.264Z [INF] s3fs.cpp:set_mountpoint_attrib...
* Add UTC timestamp to cache integrity check
for easier correlation with external events.
$ s3fs mybucket /mybucket -oset_check_cache_sigusr1=/tmp/check.cache
Old output:
$ kill -s SIGUSR1 $(pgrep s3fs)
$ cat /tmp/check.cache
------------------------------------------------------------
Check cache file and its stats file consistency
------------------------------------------------------------
------------------------------------------------------------
Summary - Total files: 0
Detected error files: 0
Detected error directories: 0
------------------------------------------------------------
New output:
$ kill -s SIGUSR1 $(pgrep s3fs)
$ cat /tmp/check.cache
---------------------------------------------------------------------------
Check cache file and its stats file consistency at 2021-01-30T13:04:14.111Z
---------------------------------------------------------------------------
---------------------------------------------------------------------------
Summary - Total files: 0
Detected error files: 0
Detected error directories: 0
---------------------------------------------------------------------------
* Fix indentation of S3fsLog::GetCurrentTime()
|
2021-02-04 10:41:29 +09:00 |
|
Andrew Gaul
|
543231c9f2
|
Address warnings from clang-tidy 11 (#1470)
|
2020-11-09 21:15:20 +09:00 |
|
Takeshi Nakatani
|
38e1eaa8a3
|
Added logfile option for non-syslog logging
|
2020-10-19 20:10:19 +09:00 |
|
Takeshi Nakatani
|
b5ffd419d8
|
Source file division and set 4 spaces and cleanup
|
2020-08-26 17:43:50 +09:00 |
|