Alex Efros > Narada > narada-viewlog

Download:
Narada-v2.2.0.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

narada-viewlog - log viewer for project based on Narada framework

VERSION ^

This document describes narada-viewlog version v2.2.0

USAGE ^

    narada-viewlog [-d] [-t] [-m] [-f] [-l] [-i] [-p] [-L LEVEL] [-R REGEX] [logfile ...]

DESCRIPTION ^

Should be executed in project deploy directory (or Narada 1.x project root directory).

Output logs in ease to read format (control output fields and can filter log records).

If logfile param(s) used output these files, else work like `tail -F var/log/current`.

To select which fields should be included in output (use -tmli by default):

  [-d] date
  [-t] time
  [-m] time microseconds
  [-f] facility
  [-l] log level
  [-i] ident
  [-p] pid

To filter log records:

  [-L LEVEL] minimum log level (debug->info->notice->warn->err)
  [-R REGEX] regexp to filter log records (in multiline records 
             will apply to first line only)

If option -t used without -d, will output date on separate line on date change. Will remove duplicate date/time (added by syslog) from output. Strip prefix in multiline records for second and next lines.

CONFIGURATION AND ENVIRONMENT ^

narada-viewlog requires no configuration files or environment variables.

SUPPORT ^

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/powerman/Narada/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license. Feel free to fork the repository and submit pull requests.

https://github.com/powerman/Narada

    git clone https://github.com/powerman/Narada.git

Resources

AUTHOR ^

Alex Efros <powerman@cpan.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2008-2015 by Alex Efros <powerman@cpan.org>.

This is free software, licensed under:

  The MIT (X11) License
syntax highlighting: