1

I am looking for a logging mechanism in AS/400 similar to log4j. I am thinking of writing a wrapper to the log4j in AS/400. Can someone please let me know if there is such a tool present already?

Thanks, Sam

2 Answers 2

1

There are already apenders so I supect the rest should already be done. See here:http://log4j400.sourceforge.net/

0

I am not sure if it is what you want, but the iSeries performance and system tools can gather a lot of information about your programs. You won't see the source statement, but you do see the calls to the diffent components. These tools are part of the operating system. You just need much autorisation to use them.

2
  • I guess I just want a logging feature for the RPG programs. It'll be easier and better for me to use logs than to manually debug the programs. Please let me know if there is inbuilt mechanism to do this... Jan 5, 2010 at 0:09
  • No, such tools is not available (at least, I've never heard off). But with STRSST you can collect a lot of information that one need for profiling. Also, don't forget to check the joblog. Especially if you manipulate the job- and programattributes you can find a lot of information. In other words, nothing like log4j is available. But the iSeries gives much, very much information about the running job. Please, check this out and I would not be surprised if you find what you want.
    – robertnl
    Jan 5, 2010 at 20:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.