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:
@@ -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;
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE `logs` CHANGE `type` `type` varchar(250);
|
||||
|
||||
Reference in New Issue
Block a user