76 Commits

Author SHA1 Message Date
Akkadius
8ae2d86962 rename process_file_name to platform_file_name for consistency 2015-01-20 06:49:31 -06:00
Akkadius
f4847607fd More work on process logging 2015-01-20 06:26:12 -06:00
Akkadius
9ae28d7619 More process based logging work 2015-01-20 06:13:12 -06:00
Akkadius
01940ee5ed Implement crash logging, 'crash_processname_pid.log' at the root of logs/ 2015-01-20 05:52:50 -06:00
Akkadius
ad5d1e4814 Some EQEmuLogSys changes regarding class variables 2015-01-20 05:36:15 -06:00
Akkadius
e4797d04f0 Change some defaults for logs 2015-01-20 05:18:21 -06:00
Akkadius
0110755c47 Adjust defaults for LoadLogSettingsDefault 2015-01-20 04:56:13 -06:00
Akkadius
1bbbb28218 Refactor some of the database stuff for QueryServ for uniformity, should probably be done right later 2015-01-20 04:30:27 -06:00
Akkadius
42dffec4ae Various logging adjustments 2015-01-20 03:20:40 -06:00
Akkadius
b2ffcf1cf6 Implement debug_level checking for ProcessGMSay 2015-01-20 03:02:41 -06:00
Akkadius
aeff650649 Implement debug_level checking for ProcessLogWrite 2015-01-20 03:02:15 -06:00
Akkadius
f09e1d037f Implement debug_level checking for ProcessConsoleMessage 2015-01-20 03:01:41 -06:00
Akkadius
f5b1f678a1 Pass debug_level to subprocess commands 2015-01-20 03:00:00 -06:00
Akkadius
cc1735bc39 Add uint16 debug_level to ProcessGMSay 2015-01-20 02:59:32 -06:00
Akkadius
9faa2117d5 Add uint16 debug_level to ProcessLogWrite 2015-01-20 02:59:06 -06:00
Akkadius
e48234b2af Add uint16 debug_level to ProcessConsoleMessage 2015-01-20 02:58:33 -06:00
Akkadius
ff5e82c50f Fix some indents 2015-01-20 02:57:31 -06:00
Akkadius
39626159a5 Implement Linux ANSI colors 2015-01-20 02:53:10 -06:00
Akkadius
32437a21eb Add ANSI color defines for Linux 2015-01-20 02:45:38 -06:00
Akkadius
951f98a63e Re-Implement GMSay colors: http://i.imgur.com/tQbuKUM.jpg 2015-01-20 00:53:52 -06:00
Akkadius
1ad210ff29 Add MySQL Query logging at root 2015-01-20 00:14:18 -06:00
Akkadius
9546023101 Add console color for MySQL Error logging 2015-01-19 05:58:59 -06:00
Akkadius
ab4595f56d Remove QueryPerformanceCounter code 2015-01-19 03:22:23 -06:00
Akkadius
b546848313 Implement EQEmuLogSys::GetConsoleColorFromCategory in ProcessConsoleMessage 2015-01-19 02:54:01 -06:00
Akkadius
2f74f07be7 Add EQEmuLogSys::GetConsoleColorFromCategory(uint16 log_category) to replace the static map 2015-01-19 02:47:51 -06:00
Akkadius
e554278811 Remove Log.Raw function 2015-01-19 02:32:24 -06:00
Akkadius
ee1c55a813 Remove Log.Hex remaining entries 2015-01-19 02:32:09 -06:00
Akkadius
83906af9b6 Buildable state with converting hex packet dumps 2015-01-18 03:53:35 -06:00
Akkadius
b3bedef7af Bunch of crazy changes to remove logsys 2015-01-18 03:23:36 -06:00
Akkadius
467b359d0c Moved all EQEmuLogSys:: enum references used in Log.Out to a namespace 'Logs' for shortening of syntax 2015-01-18 02:20:16 -06:00
Akkadius
c025765283 Renamed DoLog to Out as the aggregate logging function for simplicity of use and shortened syntax of Log.Out 2015-01-18 02:00:15 -06:00
Akkadius
1c048cb1d1 Renamed DebugCategory to DoLog as the aggregate logging function for simplicity of use and shortened syntax of Log.DoLog 2015-01-18 01:54:09 -06:00
Akkadius
40d12d952e Refactor ProcessConsoleMessage to no longer use type 2015-01-18 01:45:58 -06:00
Akkadius
564bff07fe Refactor ProcessLogWrite to no longer use type 2015-01-18 01:42:23 -06:00
Akkadius
0926a5ded3 Refactor ProcessGMSay to no longer use type 2015-01-18 01:41:11 -06:00
Akkadius
57ac6c0e98 Remove EQEmuLogSys::Log from consolidation of types into categories 2015-01-18 01:39:01 -06:00
Akkadius
ef04c90d8e Remove new log prefix from console output 2015-01-18 01:04:59 -06:00
Akkadius
1496f14843 Remove old function code from consolidation 2015-01-18 00:56:26 -06:00
Akkadius
726b3a33f5 Consolidate EQEmuLogsys::Debug stragglers to DebugCategory for further refactoring 2015-01-18 00:06:01 -06:00
Akkadius
132fbbb0c6 Rename LogDebugType to DebugCategory 2015-01-16 03:09:02 -06:00
Akkadius
32a3666170 Add Linux chmod mask 0755 for mkdir 2015-01-16 00:54:27 -06:00
Akkadius
cdc249dde3 Converted SyncWorldtime std::cout 2015-01-16 00:37:36 -06:00
Akkadius
829dd8ddaf Correct log_settings checks 2015-01-16 00:15:34 -06:00
Akkadius
73b54ffabb Implement log_settings for ProcessConsoleMessage 2015-01-16 00:14:49 -06:00
Akkadius
0b661a6347 Implement log_settings for ProcessLogWrite 2015-01-16 00:14:16 -06:00
Akkadius
2fb50fa5cc Implement log_settings for ProcessGMSay 2015-01-16 00:13:56 -06:00
Akkadius
70fbf23d27 Rename LoadLogSettings to LoadLogSettingsDefaults 2015-01-16 00:07:30 -06:00
Akkadius
44b65d1ee5 Add Database::LoadLogSysSettings function 2015-01-15 23:49:20 -06:00
Akkadius
362de5084f Add category processing to ProcessGMSay so we don't get a zone crash from feedback loop of GMSay outputting packets, then those packets going to GMSay. This would make a log inside of a log inside of a log, I call it, log inception 2015-01-15 22:44:27 -06:00
Akkadius
dbdfb23cc3 Add category to ProcessLogWrite 2015-01-15 22:38:24 -06:00