Skip to content

Commit

Permalink
Merge pull request #129 from rafaelcoutinho/master
Browse files Browse the repository at this point in the history
Suporte a categoria de logger br.gov.mj.sislegis
  • Loading branch information
rafaelcoutinho committed Sep 25, 2015
2 parents dc81c94 + 914097a commit 731acde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;

import br.gov.mj.sislegis.app.enumerated.Origem;
import br.gov.mj.sislegis.app.model.Proposicao;
Expand Down Expand Up @@ -31,7 +33,7 @@ public List<Proposicao> getProposicoes(String datIni) throws Exception {

String wsURLPlenario = "http://legis.senado.leg.br/dadosabertos/plenario/agenda/mes/"+datIni;
URL url = new URL(wsURLPlenario);

Logger.getLogger("br.gov.mj.sislegis").log(Level.FINE, "Buscando dados da sessão do plenario");
xstreamSessao.fromXML(url, agendaPlenario);

List<Sessao> sessoes = agendaPlenario.getSessoes();
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0
Logging-Profile: br.gov.mj.sislegis

0 comments on commit 731acde

Please sign in to comment.