Actually, I could do it even before parsing command line parameters if I name it "xsplash-%s.log" with pwd->pw_name.
Actually, I could do it even before parsing command line parameters if I name it "xsplash-%s.log" with pwd->pw_name.