Skip to content

Commit

Permalink
remove ConsoleLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Feb 8, 2015
1 parent 8c66ee4 commit 72ecbc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -2,6 +2,7 @@ Revision history for Perl module Galileo

0.XXX
- Simplify home path logic
- Remove ConsoleLogger again

0.0038 2015-01-25
- Fixed compatibility with recent Mojolicious
Expand Down
4 changes: 0 additions & 4 deletions README.pod
Expand Up @@ -37,10 +37,6 @@ This is the directory where L<Galileo> expects additional files. These include t

This is the full path to a configuration file. The default is a file named F<galileo.conf> in the C<GALILEO_HOME> path, however this file need not actually exist, defaults may be used instead. This file need not be written by hand, it may be generated by the C<galileo config> command.

=item C<GALILEO_CONSOLE_LOGGER>

Use L<Mojolicious::Plugin::ConsoleLogger> to get additional state information and logger output sent to the browser console.

=back

=head2 The F<galileo> command line application
Expand Down
12 changes: 3 additions & 9 deletions lib/Galileo.pm
Expand Up @@ -178,8 +178,9 @@ sub startup {
return $user->is_admin;
});

$app->plugin( 'Memorize' );
$app->plugin( 'Galileo::Plugin::Modal' );
$app->plugin('Memorize');
$app->plugin('Galileo::Plugin::Modal');
$app->plugin('Humane', auto => 0);

## Routing ##

Expand Down Expand Up @@ -212,9 +213,6 @@ sub startup {
$if_admin->websocket( '/store/user' )->to('admin#store_user');
$if_admin->websocket( '/remove/page' )->to('admin#remove_page');

## Additional Plugins ##
$app->plugin('Humane', auto => 0);
$app->plugin('ConsoleLogger') if $ENV{GALILEO_CONSOLE_LOGGER};
}

1;
Expand Down Expand Up @@ -260,10 +258,6 @@ This is the directory where L<Galileo> expects additional files. These include t
This is the full path to a configuration file. The default is a file named F<galileo.conf> in the C<GALILEO_HOME> path, however this file need not actually exist, defaults may be used instead. This file need not be written by hand, it may be generated by the C<galileo config> command.
=item C<GALILEO_CONSOLE_LOGGER>
Use L<Mojolicious::Plugin::ConsoleLogger> to get additional state information and logger output sent to the browser console.
=back
=head2 The F<galileo> command line application
Expand Down

0 comments on commit 72ecbc3

Please sign in to comment.