pbattu123
f13d0632b0
Merge pull request #4 from Noughmad/GRPH-50-network_broadcast_api-fix
...
[GRPH-50] network broadcast api fix
2019-10-04 09:24:17 -03:00
pbattu123
209bca8d84
Merge pull request #9 from peerplays-network/feature/GRPH-2
...
[GRPH-2] Fixed log appending issue.
2019-10-03 11:12:52 -03:00
Sandip Patel
9da11c44ed
Fixed log appending issue.
2019-09-20 19:04:24 +05:30
Abit
33215ffb6e
Merge pull request #21 from pmconrad/variant_fix
...
Variant fix
2019-08-20 11:25:15 +02:00
pbattu
00efb88ac7
fc changes to support ubuntu-18.04 upgrade
2019-05-21 18:42:14 -03:00
Eric Frias
57d14c7de8
Implement gzip-compression of rotated log files (this effectively
...
restores the functionality removed in 701b9ac00c ,
which had lzma-compression of rotated logs)
2016-08-16 14:20:20 -04:00
Eric Frias
008dafe7d0
Merge branch 'github_master'
...
Conflicts:
src/asio.cpp
src/network/http/websocket.cpp
2015-09-18 16:03:34 -04:00
Daniel Larimer
08944de151
updating logs to append
2015-09-07 11:15:48 -04:00
SynaptiCAD User
b3f8031a83
Fix whitespace padding in recent logging changes
2015-08-28 14:05:58 -04:00
Eric Frias
9f2a1e8b0c
When logging timestamps for log messages, log to millisecond precision
2015-08-25 17:30:21 -04:00
Vikram Rajkumar
701b9ac00c
Remove problematic easylzma
2015-06-23 16:19:36 -04:00
Vikram Rajkumar
3d17836a1e
Remove extraneous log config setting
2015-03-25 20:07:19 -04:00
Vikram Rajkumar
f948bd759d
Use ISO standard delimited timestamp string serialization
2014-10-28 18:54:49 -04:00
Eric Frias
307252e23a
Call fc: 🧵 :quit() on thread destruction, and remove code that explicitly terminates threads from the destructors of the objects that own those threads.
...
Fix fc::thread to set the thread name in the Debugger when the name is set after thread construction.
When terminating a thread, cancel any tasks that have been schedule()d or async()ed but have not yet started executing.
When canceling a task blocked on a fc::mutex, notify the thread to reschedule the task to allow it to clean up the mutex's block list.
Fix a bug in managing the recursive lock count when tasks block on a fc::mutex
Reorder the code that manages the hard links for log files to avoid an exception generated by unlinking a locked file on Windows.
2014-10-21 10:25:28 -04:00
Eric Frias
4e83427df0
Improvements for handling unicode filenames on Windows. When converting fc::path to/from fc::variant, use utf8 encoding. Replace several places where we use a std::ifstream and open it with a char* filename with a boost::filesystem::ifstream and open it with a boost::filesystem::path, which does unicode correctly.
2014-10-09 16:21:52 -04:00
Eric Frias
8def04f341
Add a path::preferred_string() function that generates a string in the platform's preferred format, using backslashes on win32 (uses boost::filesystem::path::make_preferred()).
...
Modify the log file configuration and rotating code to call to_native_ansi_path() and do more paths manipulation in fc::path objects and less in std::strings, in an attempt to improve BitShares/bitshares_toolkit#791
2014-09-25 08:57:31 -04:00
Eric Frias
ac385d1f6b
Allow the user to supply a reason string when canceling a task (useful for debugging)
2014-08-27 14:07:44 -04:00
Eric Frias
27096f15a7
Log the names of tasks to the log file (now contains thread_name:task_name}
2014-08-24 18:33:05 -04:00
Eric Frias
d847f6469a
Allow us to require assigning descriptions to all async tasks to aid in debugging
2014-07-27 17:37:21 -04:00
dnotestein
9e320a3db8
Add descriptions for a bunch of async tasks, remove logging during thread::quit to avoid crashes for now until we cleanup thread quit code
2014-07-27 00:09:15 -04:00
Vikram Rajkumar
3be05ef822
Merge branch 'master' of github.com:InvictusInnovations/fc
2014-07-26 22:29:22 -04:00
Vikram Rajkumar
48837f3116
Add time_point_sec::to_iso_{extended_}string()
2014-07-26 21:05:11 -04:00
Eric Frias
600ae24657
separate one try/catch into two blocks during file_appender destructor
2014-07-26 15:05:26 -04:00
Eric Frias
b6f8570c35
Lock mutex during more of the log rotation process (attempting to prevent crashes that have been seen while logging at the same time as log rotation)
2014-07-16 13:39:14 -04:00
Vikram Rajkumar
18611eccb9
Fix log rotation scheduling bug
2014-07-05 16:22:25 -04:00
Vikram Rajkumar
e9b1b8ec2e
Use a separate thread for log compression
2014-07-03 17:24:06 -04:00
Vikram Rajkumar
223f0005f5
Hardlink from most recent log to original filename during rotation
2014-07-03 02:55:30 -04:00
Vikram Rajkumar
b522f12a0e
Use ISO format timestamps for rotated log files
2014-07-03 02:17:03 -04:00
Vikram Rajkumar
b1e677bcee
Implement optional LZMA compression for rotated logs
2014-07-03 01:27:58 -04:00
Vikram Rajkumar
cc1ef61cd6
Logs are now rotated on startup if rotation is enabled
2014-07-03 01:16:46 -04:00
Vikram Rajkumar
c0187865ea
Implement log file rotation
2014-07-02 17:36:21 -04:00
dnotestein
87a93940d0
Display times in UTC for fc logging.
2014-06-24 16:29:59 -04:00
Daniel Larimer
fd00bddcb4
update logging to create parent directory if it does not exist
2014-05-17 16:38:32 -04:00
Daniel Larimer
383144938e
fix formatting with logging to file
2013-07-03 13:26:23 -04:00
Daniel Larimer
59a121d64b
Updating FC with changes from phoenix-int
2013-06-05 15:19:00 -04:00