topkecleon / telegram-bot-bash

Telegram bot written in bash
Other
431 stars 123 forks source link

LOGDIR fix #188

Open enamp opened 2 years ago

enamp commented 2 years ago

write logs to $BASHBOT_HOME/logs instead of . for sourced function usecase

gnadelwartz commented 2 years ago

the idea of using rundir was to have the logs where your script is run and not mixed with logs of a standalone bot, let me think about how to statisfy both cases. e.g. bashbot_ logdir variable ...