dokku / dokku-memcached

a memcached plugin for dokku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No log output

henrik opened this issue · comments

Hi,

I'm not seeing any log output and would appreciate any pointers about how I could debug this further. I poked around in the logs command a bit but didn't see anything obvious.

I've created and linked.

If I run a non-tailed log, I see no output:

$ dokku memcached:logs t2batman
$

If I tail, I also see nothing:

$ dokku memcached:logs t2batman -t
# crickets

This screenshot shows me connected by telnet on the right-hand side, and nothing happening in the logs on the left-hand side:

screenshot 2016-11-29 19 35 24

What I'm expecting is some sort of log output as I add and remove keys.

The actual problem I'm trying to solve is to verify that memcached is working within my web app, by looking at log output.

Maybe we're just not running it in verbose output mode or something?

Ah, that could be it.

I just realized the app log output lets me verify that it is working (log output from the cache lib I'm using), so I was able to solve my actual problem that way.

I would think running in verbose mode might be a bad idea for a caching system. I'm going to close this as I don't think it's a great idea (at least for this plugin).

If someone wants to implement some sort of switch for verbose mode, feel free to submit a pull request!