Also see at this wiki right menu Webhooks:
a) Snap: sudo snap set wekan debug='true'
- but also notice that in Wekan v4.56 newer most mongo logs go to /dev/null
on Snap
b) docker-compose.yml: DEBUG=true
c) start-wekan.sh: DEBUG=true
e) Logging all MongoDB queries, info from StackOverflow below:
$ mongo
MongoDB shell version: 2.4.9
connecting to: test
> use myDb
switched to db myDb
> db.getProfilingLevel()
0
> db.setProfilingLevel(2)
{ "was" : 0, "slowms" : 1, "ok" : 1 }
> db.getProfilingLevel()
2
> db.system.profile.find().pretty()
Source: http://docs.mongodb.org/manual/reference/method/db.setProfilingLevel/
db.setProfilingLevel(2) means "log all operations".
Logs are at /var/log/syslog , like with:
sudo tail -f 1000 /var/log/syslog | less
Or:
All:
sudo snap logs wekan
Partial:
sudo snap logs wekan.wekan
sudo snap logs wekan.mongodb
sudo snap logs wekan.caddy
docker logs wekan-app
docker logs wekan-db
When Wekan grain is open, click at top terminal icon, so then opens new window that shows logs