Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5950261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:22:07+00:00 2026-05-22T17:22:07+00:00

In the documentation for log4php (at http://logging.apache.org/log4php/docs/appender/layout.html ) there is the following line for

  • 0

In the documentation for log4php (at http://logging.apache.org/log4php/docs/appender/layout.html) there is the following line for the linebreak token in the layout pattern:

 %n A line break. Note that

… and that’s it! What should the rest of the line say?

(I think it’s a reference to the linebreak character being \n or \r\n depending on the native OS.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:22:08+00:00Added an answer on May 22, 2026 at 5:22 pm

    It is an error, “Note that” should have been removed. My guess is, it has not been corrected when the docs are ported from log4j to log4php.

    log4php transforms %n with PHP_EOL. This should use lineendings in a crossplattfrom friendly way

    (see also: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php?view=markup )

    Hope that helped!

    Cheers
    Christian

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

feedparser documentation used to be available on http://feedparser.org/ but the URL now says the
http://documentation.mailgun.net/quickstart.html contains some example code for a http handler in Django: # Handler for
Documentation states that 'handleResponseEnd' is called when the response has been completely received. http://twistedmatrix.com/documents/11.0.0/api/twisted.web.http.HTTPClient.html#handleResponseEnd
Documentation for logging module says that If you are implementing asynchronous signal handlers using
The documentation of some JavaScript APIs shows the following snippets as an example of
The documentation of NSURLConnection says that there are delegate methods like connection:willSendRequest:redirectResponse: But the
The documentation says there's a limit to the number of regions that can be
The documentation for CFindFile states that Nonzero if there are more files; zero if
Documentation is severely lacking on anything to do with stored procedures in mysql with
Documentation can be found here It says in the example: onDrop: Called whenever a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.