Thread: Bug report / feature enhancement
<table border="0" cellpadding="0" cellspacing="0"><tr><td style="font: inherit;" valign="top"><font size="3"><font size="4">Iam using pgAdmin 1.10.0, however neither the version nor the O/S relevant. <br /><br />Up until, and includingthe 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.<br /><br />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?<br /></font></font><br/><div id="RTEContent"><font size="4"><span style="font-weight: bold; font-family: arial; color: rgb(0,0, 255);">Melvin Davidson </span></font><br /><font size="3"> </font><font size="3"><span style="font-weight: bold;font-family: courier;"><br />Folk Alley - All Folk - 24 Hours a day </span><span style="font-weight: bold; font-family:courier;"><br />www.folkalley.com<br /></span></font></div><br /></td></tr></table><br />
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
Hello, Melvin<br /><br /> 2010.03.21 16:24, Melvin Davidson rašė: <blockquote cite="mid:441388.31279.qm@web53005.mail.re2.yahoo.com"type="cite"><font size="3"><font size="4">How hard would it be to addan option, in the General tab, which specifies the format for the log_filename, thus making it more flexible?<br /></font></font><br/><div id="RTEContent"><font size="4"><span style="font-weight: bold; font-family: arial; color: rgb(0,0, 255);">Melvin Davidson </span></font></div></blockquote> I don't think General tab of pgAdmin Options window isthe right place for this. As the log file name formating rules are defined for every postgresql server the format for thelog_filename should be assigned to server properties.<br /><br /><pre class="moz-signature" cols="72">-- Julius Tuskenis Programavimo skyriaus vadovas UAB nSoft mob. +37068233050</pre>
On Mon, Mar 22, 2010 at 7:54 AM, Julius Tuskenis <julius@nsoft.lt> 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