Обсуждение: Logfile name is hard to adjust
Aloha! Testing pgAdmin v1.12.1 on Windows XP Pro. New PC, I installed from scratch, so I revisited a couple of steps I hadn't touched in quite a while. Under File ->Options ->Logging .. It is not possible to change the logfile name to a filename that does not exist yet. Changes typed in by hand are not saved.With the "Browse" dialog one can only chose pre-existing files. This probably isn't how it should be. Things get really complicated though, if you want the process ID in the logfile name(as advertised). The only way I found is to create a dummy file with "%ID" in the name (like "C:\logs\pgAdmin_%ID.log") and select it via "Browse"dialog. (You can delete the dummy file later.) I filed a bug accordingly: #284 Regards Erwin
I've committed a fix for this - thanks! On Thu, Nov 18, 2010 at 2:46 PM, Erwin Brandstetter <brandstetter@falter.at> wrote: > Aloha! > > Testing pgAdmin v1.12.1 on Windows XP Pro. > New PC, I installed from scratch, so I revisited a couple of steps I hadn't > touched in quite a while. > > Under File ->Options ->Logging .. > > It is not possible to change the logfile name to a filename that does not > exist yet. Changes typed in by hand are not saved. With the "Browse" dialog > one can only chose pre-existing files. > This probably isn't how it should be. Things get really complicated though, > if you want the process ID in the logfile name (as advertised). The only way > I found is to create a dummy file with "%ID" in the name (like > "C:\logs\pgAdmin_%ID.log") and select it via "Browse" dialog. (You can > delete the dummy file later.) > > I filed a bug accordingly: #284 > > > Regards > Erwin > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company