Karaf Web Console Log

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Karaf Web Console Log

pawel
Hi, I'm using a web console to watch a log, but there is a limit about 100,
where can I change it ?



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Reply | Threaded
Open this post in threaded view
|

Re: Karaf Web Console Log

jbonofre
Hi,

The size of the buffer is defined in etc/org.apache.karaf.log.cfg via the size
property.

What's version of Karaf are you referencing as we changed the way of dealing
with LRU ?

Regards
JB

On 04/28/2018 12:42 AM, pawel wrote:
> Hi, I'm using a web console to watch a log, but there is a limit about 100,
> where can I change it ?
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: Karaf Web Console Log

pawel
I'm using Karaf v.4.0.4.
In this file is set size as 500 but it don't have influence on limit of log
in web console.

"...
# The number of log statements to be displayed using log:display. It also
defines the number
# of lines searched for exceptions using log:exception-display. You can
override this value
# at runtime using -n in log:display.
#
size = 500
..."

Regards




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Reply | Threaded
Open this post in threaded view
|

Re: Karaf Web Console Log

jbonofre
Oh sorry, you mean webconsole, I understood shell console.

That's the default value in the log webconsole plugin. Let me check if there's a
param to change it.

Regards
JB

On 04/28/2018 12:11 PM, pawel wrote:

> I'm using Karaf v.4.0.4.
> In this file is set size as 500 but it don't have influence on limit of log
> in web console.
>
> "...
> # The number of log statements to be displayed using log:display. It also
> defines the number
> # of lines searched for exceptions using log:exception-display. You can
> override this value
> # at runtime using -n in log:display.
> #
> size = 500
> ..."
>
> Regards
>
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: Karaf Web Console Log

pawel
Hi,
I think there is no possibility to change it. Only way is probably override
a lib.
Regards



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Reply | Threaded
Open this post in threaded view
|

Re: Karaf Web Console Log

Alexandre Briani Kieling
The Web console is based on hawtio, right?
You can change the limit in User > Preferences > Server logs.

On Mon, Apr 30, 2018 at 6:35 AM, pawel <[hidden email]> wrote:
Hi,
I think there is no possibility to change it. Only way is probably override
a lib.



--
Alexandre Kieling
Sr. Software Engineer, JBoss Fuse
Red Hat
Reply | Threaded
Open this post in threaded view
|

Re: Karaf Web Console Log

jbonofre
No, it's not based on hawtio, it's based on Felix WebConsole.

Regards
JB

On 04/30/2018 02:55 PM, Alexandre Briani Kieling wrote:

> The Web console is based on hawtio, right?
> You can change the limit in User > Preferences > Server logs.
>
> On Mon, Apr 30, 2018 at 6:35 AM, pawel <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>     I think there is no possibility to change it. Only way is probably override
>     a lib.
>     Regards
>
>
>
>     --
>     Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>     <http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html>
>
>
>
>
> --
> Alexandre Kieling
>
> Sr. Software Engineer, JBoss Fuse
>
> Red Hat
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com