Open Closed

How to create Log File? #6557


User avatar
0
guven.uysall created
  • ABP Framework version: v6.3.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) /
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello, I want to log the log file that ABP uses by default as new log files with the current date. Can you guide me as a method? Best Practice?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

5 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello ,

    Can you check this ticket https://support.abp.io/QA/Questions/6544/API-Performance-Issue. In this ticket give the steps how to create a log file.

    Thank you,

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    guven.uysall created

    Hi, link is not working

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello , Sorry for that check this link https://code-maze.com/csharp-configure-rolling-file-logging-with-serilog/ Thanks

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    guven.uysall created

    Thanks your answer,

    But :)

    It created the log file on the relevant date, but it continues to write the logs to the old file. It does not write to the new file.

    writes all other logs to the old file

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello ,

    You can check this similar ticket https://support.abp.io/QA/Questions/2208/Create-log-file-one-per-day

    Thank you.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.