How to make the log file \\ log \ serve.log added. that is, when I restart JBoss, it should not redefine the contents of the log, but continue from the end?
Add <param name="Append" value="true"/>in <Appender>to your conf/jboss-log4j.xmlfile. Several applications may be specified, so make sure you get the one that is processing server.log.
<param name="Append" value="true"/>
<Appender>
conf/jboss-log4j.xml
server.log
Try installing <param name="Append" value="true"/>log4j.xml in your file. This could be in the FileAppender och RollingFileAppender section. Just find the appender that writes to server.log.
: (, myapp.log)
: , server.log jboss. - - server.log - , . , , , .
Ubuntu 16.04 Linuxes Jboss EAP 6.4.0, , Jboss Eclipse/Windows. append true.
, , , append standalone-full.xml.
<properties> <property name="append" value="true"/> <property name="fileName" value="${jboss.server.log.dir}/server.log"/>
Source: https://habr.com/ru/post/1727934/More articles:Переменные переменные, указывающие на массивы или вложенные объекты - phpComboBox goes out after updating data, even though the data has been successfully updated - c #Is it possible to read the internal processor count with C #? - performanceExamples of design patterns used in .Net open source projects - c #Get exception message when calling wcf service from jquery - jqueryиспользуя статическую функцию без экземпляра класса, в С++ - c++How do popular PHP frames handle form input errors? - phphow to get started when the main action is running in the background? - androidHow can I create a virtual disk? - c ++problem with System.Activator.CreateInstance - c #All Articles