"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java" between
apache-log4j-2.11.1-src.tar.gz and apache-log4j-2.11.2-src.tar.gz

About: Apache Log4j 2 is a logging library for Java. Source distribution (Java).

FileManager.java  (apache-log4j-2.11.1-src):FileManager.java  (apache-log4j-2.11.2-src)
skipping to change at line 166 skipping to change at line 166
* @param fileName The name of the file to manage. * @param fileName The name of the file to manage.
* @param append true if the file should be appended to, false if it should be overwritten. * @param append true if the file should be appended to, false if it should be overwritten.
* @param locking true if the file should be locked while writing, false oth erwise. * @param locking true if the file should be locked while writing, false oth erwise.
* @param bufferedIo true if the contents should be buffered as they are wri tten. * @param bufferedIo true if the contents should be buffered as they are wri tten.
* @param createOnDemand true if you want to lazy-create the file (a.k.a. on -demand.) * @param createOnDemand true if you want to lazy-create the file (a.k.a. on -demand.)
* @param advertiseUri the URI to use when advertising the file * @param advertiseUri the URI to use when advertising the file
* @param layout The layout * @param layout The layout
* @param bufferSize buffer size for buffered IO * @param bufferSize buffer size for buffered IO
* @param filePermissions File permissions * @param filePermissions File permissions
* @param fileOwner File owner * @param fileOwner File owner
* @param fileOwner File group * @param fileGroup File group
* @param configuration The configuration. * @param configuration The configuration.
* @return A FileManager for the File. * @return A FileManager for the File.
*/ */
public static FileManager getFileManager(final String fileName, final boolea n append, boolean locking, public static FileManager getFileManager(final String fileName, final boolea n append, boolean locking,
final boolean bufferedIo, final boolean createOnDemand, final String advertiseUri, final boolean bufferedIo, final boolean createOnDemand, final String advertiseUri,
final Layout<? extends Serializable> layout, final Layout<? extends Serializable> layout,
final int bufferSize, final String filePermissions, final String fil eOwner, final String fileGroup, final int bufferSize, final String filePermissions, final String fil eOwner, final String fileGroup,
final Configuration configuration) { final Configuration configuration) {
if (locking && bufferedIo) { if (locking && bufferedIo) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)