Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No log file written #10

Open
fho4train opened this issue Sep 4, 2019 · 4 comments
Open

No log file written #10

fho4train opened this issue Sep 4, 2019 · 4 comments

Comments

@fho4train
Copy link

No log written. The plugin has the default logfile name e.g. ":groupmail:log".
Checked the plugin as super user, so permissions should not be a problem.
Created the log file manually as test, but it remains empty.
The sitemap does not show any other file that could be the logfile.
Effect with latest Dokuwiki on Windows10. Other installed plugins:
Translation Plugin
CAPTCHA Plugin
Upgrade Plugin
Wrap Plugin
Gallery Plugin
Move Plugin
Page Redirect Plugin
SMTP Plugin

@POpus
Copy link
Owner

POpus commented Feb 13, 2020

Did you ever resolve this? It works on my Ubuntu Linux system.

@fho4train
Copy link
Author

No, removed the plugin. But I have now also an additional Ubuntu VM. Gives the option to check again and compare. Thanks for the hint. I have currently more work, so it will take some time to dive in this one., but I will respond as soon as I have more info.

@fho4train
Copy link
Author

Just loaded the groupmail plugin on my laptop and on the Ubuntu VM.
The configuration setting for both installations for the log = ":groupmail:log" (the default)
Logged in as super user and the mail is sent correctly on both installations.
Now I expected in folder data/pages a folder with name "groupmail" and in this folder a file "log" or "log.txt". No folder "groupmail" and no file "log"/"log.txt"

Changing the default ":groupmail:log" to "log" only creates file data/pages/log.txt as expected.
Changing the default ":groupmail:log" to "groupmail:log"creates file data/pages/groupmail/log.txt.
The leading semicolon in the default log seems to be too much.

@POpus
Copy link
Owner

POpus commented Feb 14, 2020

Ok, my results are different.

Changing the default ":groupmail:log" to "log" creates file data/pages/groupmail/log.txt.
Changing the default ":groupmail:log" to "groupmail:log" doesn't make a difference. Neither produce a log file.

How are you telling groupmail to send a log to the default directory? Mine looks like this:

{{groupmail>touser=dc10020|subject=Groupmail|content=default directory|sendlog}}

And results in an email like this:

Subject: [wiki-name] Groupmail

default directory


sent byemtest xxxxxx@yyyyyy
via DokuWiki at http://wiki-name/doku.php
view the message online at http://wiki-name/doku.php?id=groupmail:log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants