Pourquoi la « sudo yunohost service log name --share » n'existe-t-elle pas?

Ce serait bien si c’était possible.

Ben, euh, c’est possible, mais avec le chemin du log et pas le nom.

Pour avoir le chemin de la liste de tes logs : yunohost log list

Et après yunohost log share path

# yunohost log share -h
usage: yunohost log share path [-h]

Share the full log on yunopaste (alias to show --share)

positional arguments:
  path        Log file to share

optional arguments:
  -h, --help  show this help message and 
1 Like
[admin@Vxnebehrzjepa home]$ sudo yunohost log share nginx
Error: There is no operation log with the name 'nginx', use 'yunohost log list' to see all available operation logs

[maj]

Oh attends, je le vois maintenant.

sudo yunohost log share /var/log/nginx/error.log
1 Like