Skip to content

A log writer for Kohana 3 that logs to a loggly account.

Notifications You must be signed in to change notification settings

hpoom/kohana-loggly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

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.

About

A log writer for Kohana 3 that logs to a loggly account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages