[contribteam] [Bug 10679] Default loglevel of updated rpm is set to low

2019-02-07 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10679

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Status|VERIFIED|CLOSED

--- Comment #4 from Jean-Philippe Pialasse  ---
released

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10679] Default loglevel of updated rpm is set to low

2019-01-05 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10679

Terry Fage  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

--- Comment #3 from Terry Fage  ---
Verified

[root@fagehome ~]# rpm -qa smeserver-geoip
smeserver-geoip-1.2-6.el6.sme.noarch

@40005c31422b223bb1dc 24089 Accepted connection 0/40 from 86.47.96.237 /
Unknown
@40005c31422b2252d3bc 24089 Connection from Unknown [86.47.96.237]
@40005c31422d1ff58e84 24089 (connect) earlytalker: pass, not spontaneous
@40005c31422d2017bc84 24089 (connect) relay: skip, no match
@40005c31422d2711abbc 24089 (connect) check_badcountries: Information: City
Dublin RemoteIP 86.47.96.237
@40005c31422d271f3c64 24089 220 fagehome.tfage.dyndns.org ESMTP
@40005c31422e03c4419c 24089 dispatching HELO fagehome.tfage.dyndns.org
@40005c31422e03dbec34 24089 (helo) helo: pass

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10679] Default loglevel of updated rpm is set to low

2019-01-05 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10679

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Jean-Philippe Pialasse  ---
should be fixed

/usr/bin/plague-client build smeserver-geoip smeserver-geoip-1_2-5_el6_sme
contribs9
Package smeserver-geoip enqueued.  Job ID: 2019.

%changelog
* Sat Jan 05 2019 Jean-Philipe Pialasse  1.2-5.sme
- fix wrong loglevel LOGINFO instead of LOGNOTICE needed [SME: 10679]
- try first db v2 and back on v1 if not available [SME: 10691]
- workaround FATAL PLUGIN ERROR when method name_by_addr not existing priori
geo-ip 1.39 [SME: 10691]



if using geoip v2 please use
smeserver-geoip2

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10679] Default loglevel of updated rpm is set to low

2019-01-04 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10679

Jean-Philippe Pialasse  changed:

   What|Removed |Added

 CC||te...@pialasse.com

--- Comment #1 from Jean-Philippe Pialasse  ---
previous plugin was using this :
$self->log(LOGNOTICE, "GeoIP Country: $country");
$self->log(LOGINFO, "Country $country RemoteIP $remoteIP");

$self->log(LOGINFO, "Country $country Pattern $pattern Whitehost $whitelisthost
RemoteIP $remoteIP");
$self->log(LOGINFO, "Geoip whitelisthost found $whitelisthost");



new plugin is using: 


$self->log(LOGINFO, "Information: City NA RemoteIP $ip");
$self->log(LOGINFO, "Information: City $city RemoteIP $ip");

$self->log(LOGINFO, "Country $country RemoteIP $ip");

loginfo needs loglevel 6
lognotice 5

see the country is now loginfo

could be an upstream change  to

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

[contribteam] [Bug 10679] Default loglevel of updated rpm is set to low

2018-12-30 Thread bugzilla-daemon
https://bugs.contribs.org/show_bug.cgi?id=10679

Bug ID: 10679
   Summary: Default loglevel of updated rpm is set to low
Classification: Contribs
   Product: SME Contribs
   Version: 9.2
  Hardware: ---
OS: ---
Status: CONFIRMED
  Severity: normal
  Priority: P3
 Component: smeserver-geoip
  Assignee: contribteam@lists.contribs.org
  Reporter: tf...@yahoo.com.au
QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

Issues as described by user

3) Previously, the qpsmtpd logs would look like this at loglevel 5

2018-12-29 20:31:31.317523500 19082 Connection from s4031.pingdom.com
[66.165.233.234]
2018-12-29 20:31:32.748276500 19082 (connect) check_badcountries: GeoIP
Country: US
2018-12-29 20:32:31.209798500 19144 Connection from s4004.pingdom.com
[89.163.242.206]
2018-12-29 20:32:32.657708500 19144 (connect) check_badcountries: GeoIP
Country: DE
2018-12-29 20:33:31.270908500 19329 Connection from s4019.pingdom.com
[185.70.76.23]
2018-12-29 20:33:32.714919500 19329 (connect) check_badcountries: GeoIP
Country: GR
2018-12-29 20:34:31.173179500 19332 Connection from s466.pingdom.com
[83.170.113.210]
2018-12-29 20:34:32.609472500 19332 (connect) check_badcountries: GeoIP
Country: GB

Post update, they now look like this:

2018-12-29 20:52:31.884700500 3199 Connection from s4004.pingdom.com
[89.163.242.206]
2018-12-29 20:53:31.309469500 3224 Connection from s4019.pingdom.com
[185.70.76.23]
2018-12-29 20:54:31.169369500 3229 Connection from s466.pingdom.com
[83.170.113.210]
2018-12-29 20:55:31.410304500 3231 Connection from s451.pingdom.com
[72.46.153.26]
2018-12-29 20:56:31.285539500 3428 Connection from s421.pingdom.com
[173.248.147.18]
2018-12-29 20:57:31.495965500 3432 Connection from s4030.pingdom.com
[104.129.30.18]

If I set loglevel to 6, it is evident that the contrib is working correctly:

2018-12-29 21:40:31.295513500 3904 Accepted connection 0/40 from 94.247.174.83
/ s442.pingdom.com
2018-12-29 21:40:31.296821500 3904 Connection from s442.pingdom.com
[94.247.174.83]
2018-12-29 21:40:32.900015500 3904 (connect) earlytalker: pass, not spontaneous
2018-12-29 21:40:32.901368500 3904 (connect) relay: skip, no match
2018-12-29 21:40:32.985423500 3904 (connect) check_badcountries: Information:
City NA RemoteIP 94.247.174.83
2018-12-29 21:40:32.986278500 3904 (connect) check_badcountries: Country SE
RemoteIP 94.247.174.83
2018-12-29 21:40:33.065424500 3904 (connect) dnsbl: pass

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/