JavaMap::RollingFileAppender(3) User Contributed Perl Documentation JavaMap::RollingFileAppender(3)

# [NAME](#NAME)

Log::Log4perl::JavaMap::RollingFileAppender - wraps Log::Dispatch::FileRotate

# [SYNOPSIS](#SYNOPSIS)

# [DESCRIPTION](#DESCRIPTION)

This maps log4j's RollingFileAppender to Log::Dispatch::FileRotate by Mark Pfeiffer, &lt;markpf@mlp-consulting.com.au&gt;.

Possible config properties for log4j ConsoleAppender are

```
    File
    Append      "true|false|1|0" default=true
    BufferedIO  "true|false|1|0" default=false (i.e. autoflush is on)
    MaxFileSize default 10_000_000
    MaxBackupIndex default is 1
```

Possible config properties for Log::Dispatch::FileRotate are

```
    filename
    mode  "write|append"
    autoflush 0|1
    size
    max
```

# [SEE ALSO](#SEE_ALSO)

http://jakarta.apache.org/log4j/docs/

Log::Log4perl::Javamap

# [LICENSE](#LICENSE)

Copyright 2002-2026 by Mike Schilli &lt;m@perlmeister.com&gt; and Kevin Goess &lt;cpan@goess.org&gt;.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2026-08-17 perl v5.44.0

---

Document: Log::Log4perl::JavaMap::RollingFileAppender(3pm) from perl-log-log4perl 1.58-r1 (Chainguard OS)
Source: https://github.com/mschilli/log4perl.git
