parent
ee50a9989a
commit
bbeb4c8630
@ -1,50 +0,0 @@
|
|||||||
<?php
|
|
||||||
// This file should not be read in a usual way!!
|
|
||||||
echo 'do not open this file or the process will die';
|
|
||||||
die();
|
|
||||||
?>
|
|
||||||
|
|
||||||
#########################################
|
|
||||||
# Database api #
|
|
||||||
#########################################
|
|
||||||
# connections = "conn1, conn2, conn3" #
|
|
||||||
#########################################
|
|
||||||
[ Database ]
|
|
||||||
connections = "default"
|
|
||||||
|
|
||||||
#########################################
|
|
||||||
# Database for connection default #
|
|
||||||
#########################################
|
|
||||||
# class = "\my\namespace\ClassName" #
|
|
||||||
# ... the rest is specific #
|
|
||||||
#########################################
|
|
||||||
[ Database.default ]
|
|
||||||
class = "\io\db\MySQLDatabase"
|
|
||||||
host = "localhost"
|
|
||||||
user = "animegame"
|
|
||||||
password = "salut65++"
|
|
||||||
schema = "test_ag"
|
|
||||||
prefix = ""
|
|
||||||
|
|
||||||
#########################################
|
|
||||||
# Logging api #
|
|
||||||
#########################################
|
|
||||||
# connections = "appender1, appender2 #
|
|
||||||
#########################################
|
|
||||||
[ Logging ]
|
|
||||||
appenders = "appender1, appender2"
|
|
||||||
|
|
||||||
[ Logging.appender1 ]
|
|
||||||
class = "\io\log\FileAppender"
|
|
||||||
level = "INFO"
|
|
||||||
file.output = "/var/log/logging.log"
|
|
||||||
file.size = "5M"
|
|
||||||
|
|
||||||
[ Logging.appender1 ]
|
|
||||||
class = "\io\log\DatabaseAppender"
|
|
||||||
level = "INFO"
|
|
||||||
db.table = "logging"
|
|
||||||
db.connection = "default"
|
|
||||||
|
|
||||||
# there may be more to come
|
|
||||||
|
|
Loading…
Reference in new issue