As configured in my dotfiles.
start new:
tmux
start new with session name:
| import os | |
| FILENAME = "/path/to/my/filewith.ext" | |
| base_name = os.path.basename(FILENAME) | |
| without_ext = os.path.splitext(base_name)[0] | |
| print(without_ext) |
| import logging | |
| import logging.config | |
| import sumologger | |
| from sumologger import SumoHTTPHandler | |
| logging.config.dictConfig(sumologger.LOGGING) | |
| logger = logging.getLogger("sumologger") | |
| logger.debug("Nifty log message") |
As configured in my dotfiles.
start new:
tmux
start new with session name: