<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
About this issue I made some deeper investigation.<br>
<br>
I resume the problem: I have a Windows 7, Apache Tomcat 7.0.42
installed on C:\Program Files\Apache Software Foundation\Tomcat
7.0\<br>
In this Tomcat installation I have two OpenCms webapps (OpenCms
8.5.2 and OpenCms 9.5.1); in the first one (OpenCms 8.5.2) the
OpenCms log runs as expected, in the second one the log doesn't
work.<br>
<br>
I made some test and debug starting by the code in
org.opencms.main.CmsLog class, so I saw that the path files are
encoded with the %20 for the blank character.<br>
So I had the suspect that the problem could be the blank
character. After this I installed Tomcat in a directory without
blank character (C:/Tomcat7) and the opencms.log file for OpenCms
9.5.1 was created correctly.<br>
I hope this is useful for someone in mailing list.<br>
<br>
Antonio Cordeddu<br>
<br>
<br>
On 16/01/2015 11:58, Christoph Kukulies wrote:<br>
</div>
<blockquote cite="mid:54B8EEC1.5060402@physik.rwth-aachen.de"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Am 16.01.2015 um 11:31 schrieb Ana
RD:<br>
</div>
<blockquote
cite="mid:CAP875r=rA2arxpCSqGOg1+_r3TxNzDP9Rpg9Zc5D4PkooCL0hQ@mail.gmail.com"
type="cite"><span
style="color:rgb(51,51,51);font-family:monospace;font-size:13px;background-color:rgb(252,252,252)"></span><span
style="color:rgb(51,51,51);font-family:monospace;font-size:13px;background-color:rgb(252,252,252)">opencms.logfile=C:</span><span
class="" id="OBJ_PREFIX_DWT102_com_zimbra_url"
style="color:rgb(51,102,153);font-family:monospace;font-size:13px"><a
moz-do-not-send="true" target="_blank"
href="file://program%20files//Apache%20Software%20Foundation//Tomcat%207.0//webapps//opencms//WEB-INF//logs//opencms.log"
style="color:rgb(51,102,153);text-decoration:none">\\Program
Files\\Apache Software Foundation\\Tomcat
7.0\\webapps\\opencms\\WEB-INF\\logs\\opencms.log</a></span></blockquote>
<br>
This works with me here now (tomcat6), no matter how<br>
opencms.set.logfile=true or false<br>
is set.<br>
<br>
First I thought to put the filename in quotes (""). But one has to
write it without quotes as you state it above<br>
in Windows manner (backslashes).<br>
<br>
Still strange.<br>
<br>
Although it's in the comment, but there is a missing / here (after
${classes}):<br>
<br>
# then the log is written to
"${classes}../logs/opencms.log".<br>
<br>
Maybe it's in the source code missing as well? <br>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
_______________________________________________
Coranto informatica di Antonio Cordeddu
Via Torricelli, 9 09047 Selargius (CA) - Italy
<a class="moz-txt-link-abbreviated" href="mailto:antoniocordeddu@coranto.it">antoniocordeddu@coranto.it</a>
<a class="moz-txt-link-freetext" href="http://www.coranto.it">http://www.coranto.it</a>
_______________________________________________</pre>
</body>
</html>