Prepare karaf shell settings to work with mhu-osgi-tools

In karaf it's possible to configure a bashrc like file. This file will be executed every time a new gogo shell is opened. See scripting.adoc for details.

You can edit the file etc/shell.init.script and append the lines

console set
logtail -c
mhus:log settrail

this will activate useful mhu-osgi-tools settings for the console.

First line change the current console settings to work with karaf console. Second send the log to console output. Only console local log entries. Last line will enable debug output to printed also to console. So you get deeper feedback to executed commands direct in the console.

Kommentare

Beliebte Posts aus diesem Blog

Sonatype Nexus fails with random "peer not authenticated" errors behind ingress

[mhus lib] Reorg in generation 7 nearly finished

Creating a flux sync configuration referring a config map for substitution