diff options
author | worktycho <work.tycho@gmail.com> | 2015-06-14 14:18:01 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-06-14 14:18:01 +0200 |
commit | 0cd64ab90b1e71fa179bd505f6027ca433d36d37 (patch) | |
tree | 71733008562b482c44c2d2ab699787a0c1276325 /src | |
parent | Fixed log files' timestamps (diff) | |
download | cuberite-0cd64ab90b1e71fa179bd505f6027ca433d36d37.tar cuberite-0cd64ab90b1e71fa179bd505f6027ca433d36d37.tar.gz cuberite-0cd64ab90b1e71fa179bd505f6027ca433d36d37.tar.bz2 cuberite-0cd64ab90b1e71fa179bd505f6027ca433d36d37.tar.lz cuberite-0cd64ab90b1e71fa179bd505f6027ca433d36d37.tar.xz cuberite-0cd64ab90b1e71fa179bd505f6027ca433d36d37.tar.zst cuberite-0cd64ab90b1e71fa179bd505f6027ca433d36d37.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/LoggerListeners.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LoggerListeners.cpp b/src/LoggerListeners.cpp index 2e7c5f5bd..91964c57e 100644 --- a/src/LoggerListeners.cpp +++ b/src/LoggerListeners.cpp @@ -301,8 +301,8 @@ cFileListener::cFileListener(void) cFile::CreateFolder(FILE_IO_PREFIX + AString("logs")); m_File.Open( FILE_IO_PREFIX + Printf( - "logs/LOG_%lld.txt", - std::chrono::duration_cast<std::chrono::seconds>( + "logs/LOG_%d.txt", + std::chrono::duration_cast<std::chrono::duration<int, std::ratio<1>>>( std::chrono::system_clock::now().time_since_epoch() ).count() ), |