log.info("string that need to log...");
而,如果要操作到字串的相加,則是使用"."來串接兩個字串...
例如:顯示"url=目前連進的url"這樣的一串文字..
$rawurl = http.getRawURL();
等設定都OK之後,您就可以在進入頁面(Home)看到相關的Log資訊(當然,您需要有Request進入才會Trigger相對應的Log)...
Operating System: Software | Linux 2.6.22 or later (x86, x86_64), Solaris 10 (SPARC, x86_64), OpenSolaris 2009.6 (x86_64) |
Virtual Environment: Virtual Appliance | VMware vSphere 4, VI3 (3.5), XenServer 5.5, OracleVM 2.1, VMware ESXi 4.1 and 5.0 |
Recommended Hardware: CPU | Intel Xeon / AMD Opteron / Oracle SPARC |
Recommended Hardware: Memory | 2 Gb |
Recommended Hardware: Disk space | 10 Gb |