This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calibrating foot pedals
#7
Ah, wait a sec.

I said 'info' in the post but I did do 'debug'!

Here's what it looks like, there's a logger for
<!-- Output profiler info to 'profiler.txt' -->
and
<!-- Output Kprintf info to 'kprintf.txt' -->

Quote:<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE log4j:configuration SYSTEM 'log4j.dtd'>

<log4j:configuration>

<appender name='JpcspAppender' class='jpcsp.log.TextPaneAppender'>
<layout class='org.apache.log4j.PatternLayout'>
<param name='ConversionPattern' value='%r [%t] %-5p %c - %m%n' />
</layout>
</appender>
<appender name='HTMLAppender' class='org.apache.log4j.FileAppender'>
<param name='File' value='log.html' />
<param name='Append' value='false' />
<layout class='jpcsp.log.HTMLLayout'>
<param name='Title' value='Jpcsp log file' />
</layout>
</appender>
<appender name='ProfilerTxtAppender' class='org.apache.log4j.FileAppender'>
<param name='File' value='profiler.txt' />
<param name='Append' value='false' />
<layout class='org.apache.log4j.PatternLayout'>
<param name='ConversionPattern' value='%m%n' />
</layout>
</appender>
<appender name='KprintfTxtAppender' class='org.apache.log4j.FileAppender'>
<param name='File' value='kprintf.txt' />
<param name='Append' value='false' />
<layout class='org.apache.log4j.PatternLayout'>
<param name='ConversionPattern' value='%m' />
</layout>
</appender>
<appender name="TxtAppender" class="org.apache.log4j.FileAppender">
<param name="File" value="log.txt" />
<param name="Append" value="false" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{HH:mmConfuseds} %5p %8c - %t - %m%n" />
</layout>
</appender>

<logger name='cpu' />
<logger name='hle' />
<logger name='memory' />
<logger name='ge' />
<logger name='emu' />
<logger name='compiler' />
<logger name='runtime' />
<logger name='loader' />
<logger name='stdout' />
<logger name='stderr' />

<!-- Output profiler info to 'profiler.txt' -->
<logger name='profiler' additivity='false'>
<level value='debug' />
<appender-ref ref='ProfilerTxtAppender' />
</logger>

<!-- Output Kprintf info to 'kprintf.txt' -->
<logger name='kprintf' additivity='false'>
<level value='debug' />
<appender-ref ref='KprintfTxtAppender' />
</logger>

<root>
<level value ='off' />
<appender-ref ref='JpcspAppender' />
<appender-ref ref='HTMLAppender' />
</root>

</log4j:configuration>
Reply


Messages In This Thread
Calibrating foot pedals - by Rave_Racer - 07-09-2012, 06:45 PM
RE: Calibrating foot pedals - by serio - 07-09-2012, 06:59 PM
RE: Calibrating foot pedals - by Rave_Racer - 07-09-2012, 07:47 PM
RE: Calibrating foot pedals - by gid15 - 07-10-2012, 06:33 AM
RE: Calibrating foot pedals - by Rave_Racer - 07-10-2012, 05:05 PM
RE: Calibrating foot pedals - by gid15 - 07-11-2012, 06:00 AM
RE: Calibrating foot pedals - by Rave_Racer - 07-11-2012, 07:48 PM
RE: Calibrating foot pedals - by hyakki - 07-11-2012, 08:12 PM
RE: Calibrating foot pedals - by Rave_Racer - 07-11-2012, 08:32 PM
RE: Calibrating foot pedals - by gid15 - 07-12-2012, 05:18 AM
RE: Calibrating foot pedals - by Rave_Racer - 07-12-2012, 01:59 PM
RE: Calibrating foot pedals - by gid15 - 07-12-2012, 04:33 PM
RE: Calibrating foot pedals - by Rave_Racer - 07-12-2012, 11:01 PM
RE: Calibrating foot pedals - by gid15 - 07-13-2012, 09:46 AM
RE: Calibrating foot pedals - by Rave_Racer - 07-13-2012, 10:48 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)