Skip to content

Commit

Permalink
Added a new default configuration file logfile.xml.
Browse files Browse the repository at this point in the history
  • Loading branch information
achaloyan committed Oct 13, 2018
1 parent fdb920f commit 385aa59
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conf/Makefile.am
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in

CONFFILES = logger.xml dirlayout.xml
CONFFILES = logfile.xml logger.xml dirlayout.xml

if UNIMRCP_CLIENT_LIB
CONFFILES += unimrcpclient.xml unimrcpclient.xsd
Expand Down
15 changes: 15 additions & 0 deletions conf/logfile.xml
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Log File Document -->
<aptlogfile>
<!-- Log File Settings
purge-existing Indicates whether to delete existing log files on start-up.
max-age Lifetime of log files in days. Outdated log files are determined and deleted upon start-up and next rotation. Set 0 for infinite.
max-count Max number of log files to store. If reached, the oldest log file is deleted. Set 0 for infinite.
max-size Max size of log files in Mb.
-->
<settings
purge-existing="false"
max-age="0"
max-count="100"
max-size="8"/>
</aptlogfile>
1 change: 1 addition & 0 deletions unimrcp-2010.sln
Expand Up @@ -15,6 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{62083CC3
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "conf", "conf", "{9155EBB8-E7DD-49AE-A86A-7B90B9F09888}"
ProjectSection(SolutionItems) = preProject
conf\logfile.xml = conf\logfile.xml
conf\logger.xml = conf\logger.xml
conf\unimrcpclient.xml = conf\unimrcpclient.xml
conf\unimrcpclient.xsd = conf\unimrcpclient.xsd
Expand Down
1 change: 1 addition & 0 deletions unimrcp.sln
Expand Up @@ -160,6 +160,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mrcprecorder", "plugins\mrc
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "conf", "conf", "{9155EBB8-E7DD-49AE-A86A-7B90B9F09888}"
ProjectSection(SolutionItems) = preProject
conf\logfile.xml = conf\logfile.xml
conf\logger.xml = conf\logger.xml
conf\unimrcpclient.xml = conf\unimrcpclient.xml
conf\unimrcpclient.xsd = conf\unimrcpclient.xsd
Expand Down

0 comments on commit 385aa59

Please sign in to comment.