What is a stanza in Linux context and where does the world come from?

I searched a lot to find an actual meaning of this word. I found that they are line of text in configuration files but I am not sure if they also mean something else in Linux context and outside.

1 Answer

A stanza is a piece of a configuration file, for example:

 # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined

This is a stanza from the Apache sites-available configuration file that controls logging, located in /etc/apache2/sites-available/000-default.conf when you have Apache installed.

The origin may be googled, this is what I had found.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like