Skip to content

Commit

Permalink
Use VM name in log filename
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Oct 17, 2013
1 parent 07ea9b4 commit e38eb6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui-daemon/xside.c
Original file line number Diff line number Diff line change
Expand Up @@ -2560,7 +2560,7 @@ int main(int argc, char **argv)

close(0);
snprintf(dbg_log, sizeof(dbg_log),
"/var/log/qubes/guid.%d.log", ghandles.domid);
"/var/log/qubes/guid.%s.log", ghandles.vmname);
umask(0007);
logfd = open(dbg_log, O_WRONLY | O_CREAT | O_TRUNC, 0640);
umask(0077);
Expand Down

0 comments on commit e38eb6c

Please sign in to comment.