Core/Logging: Minor changes

- Select stderr when writing ERROR and FATAL messages
- Simplify function defines
- Fix `logs` table structure with latest logging changes
This commit is contained in:
Spp
2013-11-11 14:34:44 +01:00
parent 79a2d6b7fc
commit cd48662233
10 changed files with 59 additions and 118 deletions

View File

@@ -224,7 +224,7 @@ DROP TABLE IF EXISTS `logs`;
CREATE TABLE `logs` (
`time` int(10) unsigned NOT NULL,
`realm` int(10) unsigned NOT NULL,
`type` tinyint(3) unsigned NOT NULL,
`type` varchar(250),
`level` tinyint(3) unsigned NOT NULL DEFAULT '0',
`string` text CHARACTER SET latin1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;