Re: [discuss] log4j2

2017-08-04 Thread Ivan Kudryavtsev
Hi. May be consider sfl4j facade and some default implementation like
logback?

5 авг. 2017 г. 2:13 пользователь "Rene Moser"  написал:

> Hi
>
> I would consider https://logback.qos.ch/ as a possible replacement as
> well.
>
> Regards
> René
>
> On 08/04/2017 08:56 PM, Paul Angus wrote:
> > Hi All,
> >
> > My meanderings through various corners of CloudStack caused me to be
> look at our logging.
> >
> > Log4j v1 has been end of life since May 2015 [1]
> >
> > And was replaced by Log4j 2. The improvements over v1 are listed here [1]
> >
> > Is there an appetite to move to log4j v2 ??
> >
> >
> > [1] https://blogs.apache.org/foundation/entry/apache_
> logging_services_project_announces
> > [2] https://logging.apache.org/log4j/2.x/
> >
> >
> > Kind regards,
> >
> > Paul Angus
> >
> >
> > paul.an...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > @shapeblue
> >
> >
> >
>


Re: [discuss] log4j2

2017-08-04 Thread Rene Moser
Hi

I would consider https://logback.qos.ch/ as a possible replacement as well.

Regards
René

On 08/04/2017 08:56 PM, Paul Angus wrote:
> Hi All,
> 
> My meanderings through various corners of CloudStack caused me to be look at 
> our logging.
> 
> Log4j v1 has been end of life since May 2015 [1]
> 
> And was replaced by Log4j 2. The improvements over v1 are listed here [1]
> 
> Is there an appetite to move to log4j v2 ??
> 
> 
> [1] 
> https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces
> [2] https://logging.apache.org/log4j/2.x/
> 
> 
> Kind regards,
> 
> Paul Angus
> 
> 
> paul.an...@shapeblue.com 
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>   
>  
> 


[discuss] log4j2

2017-08-04 Thread Paul Angus
Hi All,

My meanderings through various corners of CloudStack caused me to be look at 
our logging.

Log4j v1 has been end of life since May 2015 [1]

And was replaced by Log4j 2. The improvements over v1 are listed here [1]

Is there an appetite to move to log4j v2 ??


[1] 
https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces
[2] https://logging.apache.org/log4j/2.x/


Kind regards,

Paul Angus


paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



cloud-set-guest-password working with systemctl

2017-08-04 Thread Marc Poll Garcia
Hello everyone,

last days we are experiencing some issues on our "Ubuntu 16.04" template,
created step by step following this tutorial:

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.8/templates/_create_linux.html

It is happening on "Ubuntu 16.04.2 LTS \n \l" system and  "CloudStack
4.9.2.0" version.


Unfortunately we detected that some of the features we had, no longer work,
such as the changing password one.

After several test and reviewing it more deeply, i see that it works
"intermittently" and the service sometimes does not start on boot:

/etc/init.d/cloud-set-guest-password status
● cloud-set-guest-password.service - LSB: Init file for Password Download
Client
   Loaded: loaded (/etc/init.d/cloud-set-guest-password; bad; vendor
preset: enabled)
   Active: *failed* (Result: exit-code) since Thu 2017-08-03 16:09:09 CEST;
39min ago
 Docs: man:systemd-sysv-generator(8)

Aug 03 16:08:58 Ubuntu16PassKO systemd[1]: Starting LSB: Init file for
Password Download Client...
Aug 03 16:08:58 Ubuntu16PassKO cloud-set-guest-password[1062]:  * Starting
cloud cloud-set-guest-password
Aug 03 16:09:09 Ubuntu16PassKO cloud[1252]: DHCP file
(/var/lib/dhcp/dhclient-ens160.leases) exists. No need to restart dhclient.
Aug 03 16:09:09 Ubuntu16PassKO cloud[1256]: Using DHCP lease from
/var/lib/dhcp/dhclient-ens160.leases
Aug 03 16:09:09 Ubuntu16PassKO cloud[1263]: Found password server IP
192.168.155.1 in /var/lib/dhcp/dhclient-ens160.leases
Aug 03 16:09:09 Ubuntu16PassKO cloud[1264]: Sending request to password
server at 192.168.155.1
Aug 03 16:09:09 Ubuntu16PassKO systemd[1]:
cloud-set-guest-password.service: *Control process exited, code=exited
status=4*
Aug 03 16:09:09 Ubuntu16PassKO systemd[1]: *Failed to start LSB: *Init file
for Password Download Client.
Aug 03 16:09:09 Ubuntu16PassKO systemd[1]:
cloud-set-guest-password.service: Unit entered failed state.
Aug 03 16:09:09 Ubuntu16PassKO systemd[1]:
cloud-set-guest-password.service: Failed with result 'exit-code'.


LSB part from the script:

root@Uprovav1:~# head -n20 /etc/init.d/cloud-set-guest-password

#!/bin/bash

#

# Init file for Password Download Client

#

### BEGIN INIT INFO

# Provides: cloud-set-guest-password

# Required-Start:   $local_fs $syslog $network

# Required-Stop:$local_fs $syslog $network

# Default-Start:2 3 4 5

# Default-Stop: 0 1 6

# Short-Description:Init file for Password Download Client

### END INIT INFO


Is it happening to anyone else? Is there another compatible version from
this script?

Or maybe we have to adapt it to the new "systemctl"

Thanks in advance.

-- 
Marc Poll Garcia
Technology Infrastructure . Àrea de Serveis TIC
Telèfon:  93.405.43.57

[image: UPCnet]

--
Aquest correu electrònic pot contenir informació confidencial o legalment
protegida i està exclusivament dirigit a la persona o entitat destinatària.
Si vostè no és el destinatari final o persona encarregada de recollir-lo,
no està autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo,
copiar-lo ni a revelar el seu contingut. Si ha rebut aquest correu
electrònic per error, li preguem que informi al remitent i elimini del seu
sistema el missatge i el material annex que pugui contenir.
Gràcies per la seva col.laboració.
--

*** Si us plau, no m'imprimeixis. Vull seguir sent digital ***
*** Por favor, no me imprimas. Quiero seguir siendo digital ***
*** Please, don't print me. I want to remain digital ***
--