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

  • SEARCH
  • Home
  • 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 7690661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:26:52+00:00 2026-05-31T20:26:52+00:00

I used to intern at a company that wrote SaaS asset management applications using

  • 0

I used to intern at a company that wrote SaaS asset management applications using AJAX and PHP. They wrote their own custom log messages and stored it in the database table to log most actions made by the user or the application.

Now that I have been learning Django, I noticed that the Django documentation says it uses Python’s own logging module for logs, which writes to a file.

So for best practice in the Django world, is it better to use Python’s logging and write to a file or create a custom model to write logs to a table?

By the way, I’m trying to create like a service request (work orders) app using Django.

  • 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-31T20:26:54+00:00Added an answer on May 31, 2026 at 8:26 pm

    Python’s logging module isn’t restricted to outputting to a file. Using handlers, you can control where things go. For instance, I have a logging handler that puts log messages into redis, which I use for some loggers (others can be sent to a file, or syslog, or via another custom handler could go into a relational database as you describe).

    I would generally recommend using logging for your logging needs, and choosing your handlers wisely.

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

Sidebar

Related Questions

I am an application development intern. I'm making an application using ASP.NET MVC3 that
i used this code: List<string> lists=new List<string>(apple,orange,banana,apple,mang0,orange); string names; names=lists.Distinct() is that correct?
The two terms seems to be used inter changeably. Is my understanding correct that
I came across this question about memory management of dictionaries, which mentions the intern
What is the best and easiest method that can be used for inter-process communication
I am looking for an inter-process communication facility that can be used between languages
I read in Kathy Sierra book that when we create String using new operator
I used Maven before in quite a few projects but they we already configured
I have used a JOIN to put together a query that uses columns from
What situation that I need to call string.Intern or string.IsInterned on String value ?

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.