This article explains how to add CustomLog which includes the source IP address and time information after accessing your SRX device via J-Web.
How to add CustomLog which includes the source IP address and time information after accessing your SRX device via J-web.
CAUTION: Perform the following edits with caution. Any mistakes may cause J-Web or any related HTTP server services to fail to start.
> start shell user root
% cd /cf/var/jail/etc % vi httpd.conf
ErrorLog /var/log/httpd.log
LogLevel 2 CustomLog /var/log/access.log "%h %l %u %t \"%r\" %>s %b" <<<---here DirectoryIndex index.php ... :wq root@SRX> show system processes extensive | match http 59242 nobody 2 88 0 9692K 4200K ucondt 0 0:02 0.00% httpd <<<----here 59077 root 1 76 0 13532K 6264K select 0 0:01 0.00% httpd-gk %kill -9 59242
‘show log access.log’