Support Issue - a 120Gb huge debug file

HelmutsHelmuts is verified member.

Domain Summit | HostMaria
Staff member
Joined
Dec 23, 2022
Messages
678
Reaction score
0
A user asked us on telegram what to do with a 120Gb large debug file, and can he delete it.

Screenshot:
5TcCaVV.png
 
Let me start by explaining what is a debug file and what why these exist among the other cryptocurrency files.

In the context of Maria coin or any software development, a "debug file" typically refers to a log file that contains information about the program's execution, errors, warnings, and other relevant events. It is a valuable tool for developers to diagnose issues and troubleshoot problems that may arise during the operation of the software.

The debug file may contain various types of information, including:

  • Error messages: These are messages generated by the program when it encounters an issue or an unexpected condition that prevents it from functioning correctly.
  • Warnings: These messages are not critical errors, but they indicate potential issues or situations that might need attention.
  • Event logging: Important events during the program's execution may be logged to help developers understand how the software behaves in different scenarios.
  • Stack traces: A stack trace is a report that shows the sequence of function calls leading to an error. It helps developers trace the source of the problem.
  • Variables and values: The values of variables at specific points in the program's execution may be logged to understand the state of the program.

The debug file is usually used for troubleshooting purposes during development and may contain sensitive information, so it's essential to ensure that access to such files is restricted in production environments to maintain security and privacy.

When $Maria coin was being developed and tested and had all kinds of issues > we constantly monitored and read the debug file.

Ok, this should explain what it does :)
 
Now, next step: how to enable debug logging:

1. Locate the Configuration File: The configuration file for Maria coin wallet is usually named maria.conf. The location of this file depends on the operating system you are using:

  • Windows: AppData\Roaming\maria\maria.conf
  • Linux: ~/.maria/maria.conf
  • macOS: ~/Library/Application Support/maria/maria.conf

2. Edit the Configuration File: Open the maria.conf file using a text editor.

3. Add Debug Options: To enable debug logging, add the following lines to the maria.conf file:
Code:
debug=1

explanation:
debug=1 means that debug logging is enabled.
debug=0 means that debug logging is disabled.

4. Save the file

5. Restart your Maria coin wallet >> after making the changes, you'll need to restart your PIVX wallet or node for the new debug settings to take effect.
 
Question: can the debug file be deleted without making any changes to the conf file?

Answer: Yes! > shut down the wallet, delete the debug file and start the wallet >> a new debug file will be generated and will start logging all the activities since the wallet has been started the last time (after the file was deleted).

Hopefully, this helps :)

---

also, please don't go with the usual telegram and discord crowd > use this forum to ask questions :)

mrbean-cycling.gif
 
Back
Top