cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gl1221
Level 9
Report Inappropriate Content
Message 1 of 1

enable debug logging for marservice

Hi heroes,

mar ext 2.4.2.120

tie 3.0.0.480

dxl 5.0.2

All-in-one box

I'm testing on how to enable debug logging for marservice by following the steps in KB92886

https://kc.mcafee.com/corporate/index?page=content&id=KB92886

Pretty sure I have done every exact step described in kb92886, but when checking the catalina0.log, seems there has no debug logs recorded... did I missed something or i was looking into the wrong log file?

 

bash-4.1# vi log4j.xml

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration debug="true"
xmlns:log4j='http://jakarta.apache.org/log4j/'>

 

bash-4.1# ls -lt |more
total 2756
-rw-r--r-- 1 root root 2314028 Jul 22 09:23 catalina.out
-rw-r--r-- 1 mfemar mfemar 1108 Jul 22 09:20 localhost_access_log.2020-07-22.
txt
-rw-r--r-- 1 mfemar mfemar 4789 Jul 22 08:53 catalina0.log
-rw-r--r-- 1 mfemar mfemar 3887 Jul 22 08:53 localhost.2020-07-22.log
-rw-r--r-- 1 mfemar mfemar 0 Jul 22 08:53 catalina0.log.lck
-rw-r--r-- 1 root root 0 Jul 22 08:53 host-manager
-rw-r--r-- 1 root root 0 Jul 22 08:53 localhost
-rw-r--r-- 1 root root 0 Jul 22 08:53 localhost_access_log
-rw-r--r-- 1 root root 0 Jul 22 08:53 manager
-rw-r--r-- 1 mfemar mfemar 27212 Jul 22 08:53 catalina1.log
-rw-r--r-- 1 mfemar mfemar 36669 Jul 22 08:48 catalina2.log0" encoding="UTF-8" ?>

-bash-4.1# tailf catalina0.log
Jul 22, 2020 8:53:56 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/McAfee/marserver/apache-tomcat-7.0.57/webapps/ROOT
Jul 22, 2020 8:53:56 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /opt/McAfee/marserver/apache-tomcat-7.0.57/webapps/ROOT has finished in 26 ms
Jul 22, 2020 8:53:57 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 22, 2020 8:53:57 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 22, 2020 8:53:57 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 16723 ms

 

Thanks in advance.

 

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community