[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-05-10 Thread Vinay Sajip

Vinay Sajip added the comment:

> How can this be true?

Perhaps it didn't make the cut for that specific release? Seems to be in the 
3.5 branch OK.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-05-10 Thread Марк Коренберг

Марк Коренберг added the comment:

@vinay.sajip

I don't see this change in Python 3.5.3:

https://github.com/python/cpython/blob/v3.5.3/Lib/logging/handlers.py#L806

How can this be true?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-24 Thread Vinay Sajip

Vinay Sajip added the comment:


New changeset 1b038e073807ecb6fd176edaf3386a8e3205416e by Vinay Sajip 
(Коренберг Марк) in branch 'master':
bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed 
(#663) (#663)
https://github.com/python/cpython/commit/1b038e073807ecb6fd176edaf3386a8e3205416e


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-24 Thread Vinay Sajip

Vinay Sajip added the comment:


New changeset 46e81d3345b979f835740a228857906dca0f59c0 by Vinay Sajip in branch 
'3.6':
bpo-29808: Do not fail in SysLogHandler constructor if syslog isn't available. 
(#696)
https://github.com/python/cpython/commit/46e81d3345b979f835740a228857906dca0f59c0


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-24 Thread Vinay Sajip

Vinay Sajip added the comment:


New changeset e59af55c28b657cdf57c71a7b0837c9e9f4b2a31 by Vinay Sajip in branch 
'3.5':
bpo-29808: Do not fail in SysLogHandler constructor if syslog isn't available. 
(#695)
https://github.com/python/cpython/commit/e59af55c28b657cdf57c71a7b0837c9e9f4b2a31


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Vinay Sajip

Changes by Vinay Sajip :


--
pull_requests: +569

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Vinay Sajip

Changes by Vinay Sajip :


--
pull_requests: +570

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Vinay Sajip

Vinay Sajip added the comment:

Sorry, I was a bit too hasty closing the issue.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Марк Коренберг

Марк Коренберг added the comment:

Yes, I want this simple patch to be back-ported. We use Python 3.5 in our 
projects.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Mariatta Wijaya

Mariatta Wijaya added the comment:

Does this need backport into 3.5 and 3.6?

--
nosy: +Mariatta

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Vinay Sajip

Changes by Vinay Sajip :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-14 Thread Марк Коренберг

Марк Коренберг added the comment:

Syslog, listening on local machine via UNIX socket.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-14 Thread Vinay Sajip

Vinay Sajip added the comment:

> Nothing special. Just try to create SysLogHandler when syslog server is down.

Which specific syslog configuration? UDP listener, Unix socket listener, or 
both?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-14 Thread Марк Коренберг

Марк Коренберг added the comment:

Nothing special. Just try to create SysLogHandler when syslog server is down. 
Exception will be raised.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-14 Thread Vinay Sajip

Vinay Sajip added the comment:

Can you provide a short script which demonstrates exactly the problem you're 
trying to solve?

--
nosy: +vinay.sajip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-14 Thread Roundup Robot

Changes by Roundup Robot :


--
pull_requests: +548

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-14 Thread Марк Коренберг

New submission from Марк Коренберг:

Syslog handler already able to ignore temporary errors while seding logs. So he 
knows that syslog server may be not reachable at the moment. But when we say 
about constructor, it fails with error. I have fixed that -- now it will ignore 
such errors, and try to re-connect on every logging as it was before. C's 
version does the same.

--
components: Library (Lib)
messages: 289573
nosy: mmarkk
priority: normal
severity: normal
status: open
title: SyslogHandler: should not raise exception in constructor if connection 
fails
type: behavior
versions: Python 3.5, Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com