This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

localhost_access_log."date".txt has question marks

 
madhu kannur
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

The server.xml looks like this
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="%{Host}i %{User-Agent}i %{Accept}i %{Keep-Alive}i %{Proxy-Connection}i %{Cookie}i" resolveHosts="false"/>

But
localhost_access_log."date".txt log has

???{???Host}i ???{???User-Agent}i ???{???Accept}i ???{???Keep-Alive}i ???{???Proxy-Connection}i ???{???Cookie}i line,


If i change pattern to common, the logs look fine.

Can i know what can be the reason , to display question marks, and why does it work correcttly for common pattern.

 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"maddy boy " welcome to Javaranch
please check your private messages for an important administrative matter. You can see them by clicking the My Private Messages link above.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic