Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » Log4php module

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 873 Views
  • roterl
    Community Member
    44 Posts

    Log4php module Link to this post

    I'm coming from the Java world, and SilverStripe is the first PHP framework I worked with (and actually the first PHP code I worked with).
    It is quite difficult to understand the framework, when I'm not really understand the PHP syntax and the way of programming with it. (again, that is my first php code).
    To help me walk through the code, I wanted good logging system. The SilverStripe logger with quite simple (unless I miss something...), and I want something I'm familiar with. I foound the Log4php which is php version of Log4J, a very commonly used logger framework in java.

    I created SilverStripe module for this Log4php framework.
    It support different level of logs (DEBUG, INFO, WARN, ERROR and FATAL), and can direct its output to a file, the console, a remote server using TCP, a remote Unix Syslog daemon, to the NT EventLog, to Database or even send e-mail (and more....)
    eg. it can write to file any log message and send e-mail for error messages.

    More on log4php at http://incubator.apache.org/log4php/
    (more on the apache logging frameworks: http://logging.apache.org/)

    Please note that it released under the Apache License, because the log4php is under this license. (http://www.apache.org/licenses/LICENSE-2.0)


    Attached Files
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.