Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 851 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 851 Bytes

Log Email

This module is a Log_Writer for Kohana that will send all log messages to a Loggly input.

Installing the Module

The best way to include the module in your project is to link to it as a submodule see Kohana's git guide { git submodule add git://github.com/hpoom/kohana-loggly.git modules/log_loggly git submodule init }

Alternativly you can download the source from GitHub and place it into modules/log_loggly in your project.

Using the Module

Find this line in your bootstrap.php Kohana::$log->attach(new Log_File(APPPATH.'logs'));

Change this to be as follows Kohana::$log->attach( new Log_Loggly( $logglyKey ) );

Where $logglyKey is your Loggly Input Key which can be obtained from your Loggly account.