Windows Log txtfile
10bxjfhf <[email protected]> Thu, 5 Mar 2020 13:55:31 -0800
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============1729972864091747960==
Content-Type: multipart/alternative;
boundary="------------7570A96C2D4059977DD66F3D"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------7570A96C2D4059977DD66F3D
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
When I try to create a text log file under Windows, I have found a
couple of issues.
<magicklog>
<log events="Warning" />
<log events="Error" />
<log events="FatalError" />
<log output="txtfile" />
<log filename="Magick-%d.log" />
<log generations="3" />
<log limit="2000" />
<log format="%t %r %u %p %m/%f/%l/%d/%s:\n %e" />
</magicklog>
a) When running the installed version of my app, the log file never
appears, probably because the app tries to write to the same directory
as the executable, but does not have the necessary permissions.
No error is reported
If I install or copy the installation directory to a place on the drive
where I have write permission, all is fine.
Need to find a way to specify the path to the log file
-------
b) No error is reported if the 'txtfile' is 'misspelled', i.e. for
'textfile', and no output either. Very hard to track down especially for
a newb, like myself :-( ;-)
-------
c) When running the app under the MSVC 2019 IDE, for either the debug or
release version, the log file appears in the parent directory of the
executeable directory; this may be a 'Windows MSVC' thing -
PS: I very much would like to have a way for my app to inspect the
configuration data, especially when debugging an app.
Please advise whether or not I should raise any of these as a bug report.
TIA,
Arnold
--------------7570A96C2D4059977DD66F3D
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>When I try to create a text log file under Windows, I have found
a couple of issues.</p>
<pre><magicklog>
<log events="Warning" />
<log events="Error" />
<log events="FatalError" />
<log output="txtfile" />
<log filename="Magick-%d.log" />
<log generations="3" />
<log limit="2000" />
<log format="%t %r %u %p %m/%f/%l/%d/%s:\n %e" />
</magicklog>
</pre>
<p>a) When running the installed version of my app, the log file
never appears, probably because the app tries to write to the same
directory as the executable, but does not have the necessary
permissions.</p>
<p>No error is reported</p>
<p>If I install or copy the installation directory to a place on the
drive where I have write permission, all is fine.</p>
<p>Need to find a way to specify the path to the log file<br>
</p>
<p>-------<br>
</p>
<p>b) No error is reported if the 'txtfile' is 'misspelled', i.e.
for 'textfile', and no output either. Very hard to track down
especially for a newb, like myself :-( ;-)</p>
<p>-------<br>
</p>
<p>c) When running the app under the MSVC 2019 IDE, for either the
debug or release version, the log file appears in the parent
directory of the executeable directory; this may be a 'Windows
MSVC' thing - <br>
</p>
<p>PS: I very much would like to have a way for my app to inspect
the configuration data, especially when debugging an app.</p>
<p>Please advise whether or not I should raise any of these as a bug
report.</p>
<p>TIA,</p>
<p>Arnold<br>
</p>
</body>
</html>
--------------7570A96C2D4059977DD66F3D--
--===============1729972864091747960==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============1729972864091747960==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Graphicsmagick-apis mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-apis
--===============1729972864091747960==--