From: | Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com> |
---|---|
To: | Richard Greenwood <richard(dot)greenwood(at)gmail(dot)com> |
Cc: | pgAdmin Support <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: pgAdmin4 2.0 python wheel on Ubuntu |
Date: | 2017-10-08 05:23:22 |
Message-ID: | CAKKotZQ8+-YVpBFOLosk5W5GLyKJ7ETRpg6XHYXKZ6PQO0tL-w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
You can set customize the location as per your need,
Create a file named config_local.py (if not already present) at your
installation location ../pgadmin4/web/
and add below 3 lines in it,
import os
DATA_DIR = os.path.realpath(os.path.expanduser(u'~/.pgadmin/'))
LOG_FILE = os.path.join(DATA_DIR, 'pgadmin4.log')
restart pgAdmin4 and check if that solves your problem.
--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Sat, Oct 7, 2017 at 7:44 PM, Richard Greenwood <
richard(dot)greenwood(at)gmail(dot)com> wrote:
> With 1.6 I was running pgAdmin4.py as a standard user. With 2.0 I get a
> permission denied on
> /var/log/pgadmin/pgadmin4.log. If I run pgAdmin4.py as root it doesn't
> have access to my .ssh/ and I end up in and endless cycle of failed OpehSSH
> requests.
>
> In my .ssh/config I have associated a SSL shared key file with a remote
> database server. Obviously root doesn't have access to my .ssh/ but I don't
> know why pgAdmin4 needs access to it in the first place. Maybe I've got a
> connection to that server saved some place?
>
> In 1.6 it looks like the pgAdmin log was saved in ~/.pgadmin/pgadmin4.log.
> Is there a way in 2.0 to set the log directory?
>
> Thanks
> --
> Richard W. Greenwood, PLS
> www.greenwoodmap.com
>
From | Date | Subject | |
---|---|---|---|
Next Message | Murtuza Zabuawala | 2017-10-08 10:06:41 | Re: Problem with shortcut |
Previous Message | David Gilman | 2017-10-07 23:39:19 | pgadmin4 exception: session['_id'] not in self.managers |