summaryrefslogtreecommitdiff
path: root/conf/global/console.conf
blob: 4865fd9b753e38b5f1344d6b2fa9c5d2db45287b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//================= Hercules Configuration ================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2014-2020 Hercules Dev Team
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Server Console configuration file.
//=========================================================================
// This file affects how ALL server consoles work, unless explictly defined
// so in the server configuration file (See doc/global_configuration.txt
// for more information).
//=========================================================================

console: {
	// Time-stamp format which will be printed before all messages.
	// Can at most be 20 characters long.
	// Common formats:
	//  %I:%M:%S %p (hour:minute:second 12 hour, AM/PM format)
	//  %H:%M:%S (hour:minute:second, 24 hour format)
	//  %d/%b/%Y (day/Month/year)
	// For full format information, consult the strftime() manual.
	//timestamp_format: "[%d/%b %H:%M]"

	// If redirected output contains escape sequences (color codes)
	stdout_with_ansisequence: false

	// Makes server output more silent by omitting certain types of messages:
	// 1: Hide Information messages
	// 2: Hide Status messages
	// 4: Hide Notice Messages
	// 8: Hide Warning Messages
	// 16: Hide Error and SQL Error messages.
	// 32: Hide Debug Messages
	// Example: "console_silent: 7" Hides information, status and notice messages (1+2+4)
	console_silent: 0

	// [CHAR] Display information on the console whenever characters/guilds/parties/pets are loaded/saved?
	save_log: true

	// [MAP] Makes server log selected message types to a file in the /log/ folder
	// 1: Log Warning Messages
	// 2: Log Error and SQL Error messages.
	// 4: Log Debug Messages
	// Example: "console_msg_log: 7" logs all 3 kinds
	// Messages logged by this overrides console_silent setting
	console_msg_log: 0
}