mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-01 03:01:05 +00:00
Merge bitcoin-core/gui#884: Fix compatibility with -debuglogfile command-line option
c0d28c8f5b150a03de75155a0961b3d9b2695ed6 qt: Fix compatibility with `-debuglogfile` command-line option (Hennadii Stepanov)
Pull request description:
This change avoids hardcoding the "debug.log" filename, ensuring compatibility with custom filenames provided via the `-debuglogfile` command-line option.
ACKs for top commit:
maflcko:
tested ACK c0d28c8f5b150a03de75155a0961b3d9b2695ed6 💳
pablomartin4btc:
ACK c0d28c8f5b150a03de75155a0961b3d9b2695ed6
Tree-SHA512: 0453b5f918e1831f6c6b4f04031959c391936e5ee6fc742a3d0189fce9c4dcf060ff2138f0cd15c93919a8bf750860c1c926159cad7a7f8a361833017f89ad76
This commit is contained in:
commit
36e40417de
@ -435,7 +435,7 @@ void handleCloseWindowShortcut(QWidget* w)
|
||||
|
||||
void openDebugLogfile()
|
||||
{
|
||||
fs::path pathDebug = gArgs.GetDataDirNet() / "debug.log";
|
||||
fs::path pathDebug = LogInstance().m_file_path;
|
||||
|
||||
/* Open debug.log with the associated application */
|
||||
if (fs::exists(pathDebug))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user