Skip to content

Conversation

@SmiSoft
Copy link

@SmiSoft SmiSoft commented Nov 4, 2016

system/classes/Kohana/Log.php

  • shortens path using Debug::path to prevent site owner (viewing logs) from long (sometimes, very long) paths;

system/classes/Kohana/Log/Writer.php

  • unify log filenames for regular logs (from normal application execution) and from exception handling (regular log procedure call generate log in form "message in file.php:123", but excptions generate log in format "message ~ file.php [123]"). I use automatic log's analyzer, so it's quite inconvinient to create different patterns for different log's messages;

- shortens path using Debug::path to prevent site owner (viewing logs) from long (sometimes, very long) paths;
>>> system/classes/Kohana/Log/Writer.php
- unify log filenames for regular logs (from normal application execution) and from exception handling (regular log procedure call generate log in form "message in file.php:123", but excptions generate log in format "message ~ file.php [123]"). I use automatic log's analyzer, so it's quite inconvinient to create different patterns for different log's messages;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant