bash: logging function