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 4113226
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:17:48+00:00 2026-05-20T22:17:48+00:00

I am designing a online website (PHP, HTML and MySQL) with one of the

  • 0

I am designing a online website (PHP, HTML and MySQL) with one of the functionalities being able to upload and download the records to/from database. I want to keep a log of all the records that were successfully added to the database and all the failed ones as well. If I wish to save this log file on the local machine, how should I go about with designing the log system ? i.e.

  1. location of the log file and being compatible with various O.S
  2. General format that can provide as much information as possible i.e SQL error
  3. Any other pointers I need to consider.

Can anyone please guide me to the correct setup?

I have included include '/Logger.php'; line in my php file. However, I want to write the log to a file and I don’t understand if the configuration file is log4php.xml or appender_file.properties. Can anyone please tell me the setup to log write to a file/?

  • 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-20T22:17:49+00:00Added an answer on May 20, 2026 at 10:17 pm

    log4php is a library that meets all these objectives. It can write logs to:

    1. File OR
    2. Syslog (Unix) OR
    3. System Events (Windows)

    And is configured via XML. All standard logging functions like log file rotation (E.g. create a new log file after size is 10 MB or every day, zip previous files) and customizable layout of files.

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

Sidebar

Related Questions

While designing an online shop database I had a problem with one part, could
I am designing a simple database of online exam system. But I can not
I'm designing a database for an online checkout as a project. This is the
I don't know a lot about MYSQL and am having trouble designing my database
I'm trying to add a file upload script in php to a website I'm
The background: I am designing a website to host some services online. To use
I am task with designing a database for online bookings. I am not looking
We are designing an online application (college admission form) which mandates the user to
I am designing an online accounting system as a college project. I have got
Im designing a website, and often I need to present information in a nice

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.