Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Logstash handling of multi-line and exceptions in Java log files

JBoss Logs contains messages that are spread across over multiple lines. For instance startup messages and exceptions. This post demonstrates how to handle them in logstash and keep them as message part together.

Read more

List installed JDBC drivers in JBoss

This post demonstrates how to query at runtime, which JDBC drivers are available in JBoss EAP via the CLI.

Read more

Change default log format of JBoss via CLI

This blog post demonstrates how to change the default log format of JBoss periodic file handler FILE. In the original state, it doesn’t log the date of the log entry. Using logstash with datetime matching, requires a date :-).

Read more

Use dirname and basename for dealing with paths

Dealing with paths or pathnames is a common Bash Shell scripting task. dirname and basename are unix programs that are very handy for dealing with pathnames.

Read more

Remove installed rpm forcefully

If you create your own rpm, you may make mistakes in the scrips of pre and post installation and removal. Especially removing an rpm with a wrong pre-uninstall script is not possible, e.g removing a folder that doesn’t exists. For that case you can erase the rpm with the --noscripts option.

Read more

Use whiptail in interactive shell scripts

Whiptail is a program that allows shell scripts to display dialog boxes to the user for informational purposes, or to get input from the user in a friendly way. It is included in several linux distributions like Debian or rhel.

Read more