Hi,
If you need the line from configuration file - then you may use xlogl instead of xlog.
xlogl("L_WARNING", "route block: \n");
Then you don't need $cfg(line) variable. ;)