Bug report / feature enhancement
Bug report / feature enhancement
От:
Melvin Davidson <melvin6925@yahoo.com>
Дата:
| I am using pgAdmin 1.10.0, however neither the version nor the O/S relevant. Up until, and including the current version, pgAdmin expects the format for the postgresql log_filename to be 'postgresql-%Y-%m-%d_%H%M%S.log'. However, most companies I have worked for use the format 'postgresql-%d.log' or 'postgresql-%a.log', which causes pgAdmin to not be able to locate the file. How hard would it be to add an option, in the General tab, which specifies the format for the log_filename, thus making it more flexible? Melvin Davidson Folk Alley - All Folk - 24 Hours a day www.folkalley.com |
Re: Bug report / feature enhancement
От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
Le 21/03/2010 15:24, Melvin Davidson a écrit : > I am using pgAdmin 1.10.0, however neither > the version nor the O/S relevant. > > Up until, and including the > current version, pgAdmin expects the format for the postgresql > log_filename to be 'postgresql-%Y-%m-%d_%H%M%S.log'. However, most > companies I have worked for use the format 'postgresql-%d.log' or > 'postgresql-%a.log', which causes pgAdmin to not be able to locate the > file. > > How hard would it be to add an option, in the General tab, > which specifies the format for the log_filename, thus making it more > flexible? > I don't think it should be that hard. And this is something I would like to have too. Need some time to work on it, though :/ Won't be on next release unless someone else works on this. -- Guillaume.http://www.postgresqlfr.orghttp://dalibo.com
Re: Bug report / feature enhancement
От:
Julius Tuskenis <julius@nsoft.lt>
Дата:
Hello, Melvin
2010.03.21 16:24, Melvin Davidson rašė:
2010.03.21 16:24, Melvin Davidson rašė:
How hard would it be to add an option, in the General tab, which specifies the format for the log_filename, thus making it more flexible?I don't think General tab of pgAdmin Options window is the right place for this. As the log file name formating rules are defined for every postgresql server the format for the log_filename should be assigned to server properties.Melvin Davidson
-- Julius Tuskenis Programavimo skyriaus vadovas UAB nSoft mob. +37068233050
Re: Bug report / feature enhancement
От:
Dave Page <dpage@pgadmin.org>
Дата:
On Mon, Mar 22, 2010 at 7:54 AM, Julius Tuskenis wrote: > Hello, Melvin > > 2010.03.21 16:24, Melvin Davidson rašė: > > How hard would it be to add an option, in the General tab, which specifies > the format for the log_filename, thus making it more flexible? > > Melvin Davidson > > I don't think General tab of pgAdmin Options window is the right place for > this. As the log file name formating rules are defined for every postgresql > server the format for the log_filename should be assigned to server > properties. It can be read automatically from the server, no need to store it anywhere. That's not the hard part though... -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com PG East Conference: http://www.enterprisedb.com/community/nav-pg-east-2010.do