Using server_name variable in error_log filename

This is good way how to make separate error logging per-server section

However we have many shared configuration files in conf.d/ and we have
one especially dedicated to logging.

Is there any variable containing server_name (and port) value which can
be use in filename passed to error_log ?

Thanks

Ondrej


Ondrej JOMBIK
Platon Technologies Ltd., Hlavna 3, Sala SK-92701
+421 903 PLATON - [email protected] - http://platon.org