Akkadius
9161921bf0
Fix for Loginserver log messages
2017-04-04 22:07:25 -05:00
Akkadius
fe21564659
Apply KLS' tweaks to Log.Out (CPU saves) 1d055b5364
2017-02-13 01:38:23 -06:00
Akkadius
75cddbea71
Loginserver conversion to new Logging system
2015-12-09 20:30:47 -06:00
Akkadius
53c8d63981
Implement Perl Export Variable settings map (Huge performance boost) (Preliminary)
2015-11-01 15:59:24 -06:00
Akkadius
75c48e5800
Add category prefix in file based log messages
2015-02-01 21:42:43 -06:00
JJ
96925f0dde
Some minor cleanup. [skip ci]
2015-01-31 17:03:44 -05:00
Trevius
fc5266e115
Added Logs::Mercenaries to the new Logging System. Logging of Mercenary information is off by default with the required SQL.
2015-01-25 12:31:07 -06:00
Akkadius
5266d7b25c
Add extra checking at the root of Log.Out to check if the category is subscribed to any of the output methods before trying to parse message strings and then pass them to the sub output functions and THEN perform log_setting checks and debug_level checks.
...
I performed a unit test of 1,000,000 log writes, there is hardly any difference.
#::: Before Checks
[01-25-2015 :: 03:15:35] [999999] Test #2... Took 17.940001 seconds
#::: With Checks
[01-25-2015 :: 04:10:55] [999999] Test #2... Took 18.018000 seconds
2015-01-25 04:24:05 -06:00
Michael Cook (mackal)
06ff4823d3
Minor tweaking to new logsys
2015-01-23 15:48:20 -05:00
Akkadius
570bd1bd00
Change .txt file write extension to .log more appropriately
2015-01-22 02:40:35 -06:00
Akkadius
7d70afd4c9
Change crash location to logs/crashes/<>
2015-01-22 02:36:55 -06:00
Akkadius
90653a9d17
Comment up EQEmuLogSys class header. Change some string copys to rather pass by reference because its not necessary
2015-01-22 01:44:52 -06:00
Akkadius
d8926861b6
My GCC built fine, but lets make Travis happy
2015-01-22 00:46:45 -06:00
Akkadius
376bba5156
Some log changes
2015-01-21 19:37:54 -06:00
Akkadius
7ce5acf701
Cleanup CloseFileLogs()
2015-01-21 18:43:47 -06:00
Akkadius
bd757417d5
Platform changes for getpid()
2015-01-20 19:05:11 -06:00
Akkadius
f7ca12f7cc
Changed defaults to use enum
2015-01-20 18:47:20 -06:00
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