in reply to Net::Appliance::Session is sending too much output to the screen
i've zero experience with such things but if i read correctly the docs $s->set_global_log_at is to turn on debug.
In the same paragraph it is stated that $s->nci->logger is coming from Net::CLI::Interact::Logger and i suppose it is on that logger that you have to work to leverage the output. The doces says: "This module implements a generic logging service, based on Log::Dispatch but with additional options and configuration." so for a full understand you need to read also what Log::Dispatch does.
This is the default configuration of the logger:
So it seems you need to try different values for the min_level key.# log_config( \%config ) ... { dispatchers => ['screen'], screen => { class => 'Log::Dispatch::Screen', min_level => 'debug', }, };
HtH
L*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::Appliance::Session is sending too much output to the screen
by tired_baboon (Initiate) on Mar 03, 2016 at 16:07 UTC | |
by Discipulus (Canon) on Mar 03, 2016 at 21:44 UTC |