Forum Moderators: DixonJones

Message Too Old, No Replies

iPlanet Logging to much info

Need to know how to turn off the logging of certain files

         

gjacks

5:47 pm on Feb 28, 2003 (gmt 0)

10+ Year Member



I am currently working with iPlanet 4.1 sp7 and would like to know how to not log .js, .css, .jpg files in my access log.
The following is what I have to not log gifs.
<Object ppath="*~*.gif*">
AddLog fn="flex-log" name="access"
</Object>

I've looked in the documentation, but cant seem to find anything on how to append to this.

Any help in this matter would be appreciated.

hakre

8:29 pm on Mar 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi gjacks,

have you tried adding this? :


<Object ppath="*~*.css*">
AddLog fn="flex-log" name="access"
</Object>
<Object ppath="*~*.jpg*">
AddLog fn="flex-log" name="access"
</Object>
<Object ppath="*~*.jpeg*">
AddLog fn="flex-log" name="access"
</Object>
<Object ppath="*~*.css*">
AddLog fn="flex-log" name="access"
</Object>

with more file-types you'll get some overhead, but maybe this is straighforward and working ;).

gjacks

11:01 pm on Mar 3, 2003 (gmt 0)

10+ Year Member



Thanks for the help. I appreciate it.
However this does not work, it seems as though
when you stack these functions, instead of appending,
it overlays. So in the end, the only thing not being
logged is the .css files.

hakre

11:29 pm on Mar 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ok, here is another try:


<Object ppath="*~*(.gif¦.css¦.jpg¦.jpeg)">
AddLog fn="flex-log" name="access"
</Object>

i found out, that this is all nsapi. i don't use such a kind of server but maybe someone else here around has got a tip on it.

gjacks

3:09 pm on Mar 4, 2003 (gmt 0)

10+ Year Member



That doesnt seem to help either. Same results, all types are logged. Thanks for trying to help.