<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Antonio,<br>
<br>
thanks for the tip.<br>
<br>
I'm in the situation that since moving from OpencCms 7.5.0 to
9.5.[01] I'm "living" without a proper opencms.log file due to
some quirk<br>
which might be burried in this Windows "blank in the path" issue.
There is no opencms.log nowhere in the system.<br>
Other logs are in wrongs places (TOMCAT_ROOT: opencms-search.log,
opencms-init.log) - sigh.<br>
<br>
Obviously all developers are happily using Linux and are caring
about other things. :)<br>
<br>
OTOH, I would rather have this issue fixed, than adapting my
Tomcat installation paths<br>
to something else.<br>
<br>
Am 22.04.2015 um 10:28 schrieb Antonio Cordeddu:<br>
</div>
<blockquote cite="mid:55375BAE.2030205@coranto.it" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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">
<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>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
</body>
</html>