Fork me on GitHub
#ldnclj
<
2015-10-16
>
agile_geek06:10:46

Call for Papers for Clojure eXchange closes on Saturday 25th October. If you’ve got an interesting project, a story to tell about your experiences with Clojure, a cool open source library you’d like contributions to or examples of how Clojure has changed your life for the better please submit a synopsis here: https://docs.google.com/forms/d/1hQDOSXSdDF22aGRbX-K5z5MZpegdmMuOVxUgO0zBwFc/viewform?edit_requested=true

thomas07:10:53

@agile_geek: I have already submitted mine. when will we hear more about it?

agile_geek08:10:05

@thomas: organisers are meeting on Thursday next week so probably not till after that, but I will check your submission has arrived.

thomas08:10:28

ok cool, looking forward to it.

thomas08:10:36

and if you have any question please let me know

quentin08:10:27

isn’t 25 Sunday ? 😄

agile_geek08:10:23

@quentin: yes. Submissions accepted up till then. However we will be doing an initial review of what we have so far on Thursday

xlevus09:10:54

I might put a submission in this weekend.

xlevus09:10:48

No idea if it's of any merit, but what the hey. If you end up googling my name and "Clojure" is right next to it, it might be worth it.

thomas09:10:19

@xlevus: sounds like a good deal to me

thomas12:10:16

is there a way to see all HTTP calls coming in on my server?

xlevus12:10:39

tcpdump :D

thomas12:10:42

yes.. just looking at that....

thomas12:10:53

doesn't make lots of sense though 😞

xlevus12:10:58

which server are you talking about?

thomas12:10:16

I have been using compojure with ring/jetty

thomas12:10:30

with tcmpdump I just see lots of ascii...

thomas12:10:45

but nothing that looks like a http command

xlevus12:10:54

tcpdump is low low level. Was a technically-correct answer :p

pupeno12:10:04

thomas: you could add a middleware that logs all requests.

xlevus12:10:10

^ is correct answer

pupeno12:10:22

otherwise, look how to set up jetty logging.

thomas12:10:34

hmm good idea... I like the logging

pupeno12:10:38

do you happen to have apache or nignx in front of that?

thomas12:10:52

nothing in front of it...

thomas12:10:58

test environment

pupeno12:10:20

Then, the most correct way would be jetty logging, the most straightforward one could be logging middleware.

thomas13:10:02

ok thanks... looking at that now

thomas13:10:34

progress... a bit.. gone from a 403 to a 404....

thomas13:10:35

ok. solved it... thanks to tcpdump. thanks guys

pupeno13:10:56

thomas: oh! if you are working at that level, you might want to look at wireshark.

thomas13:10:23

tcpdump told me all I needed

pupeno13:10:04

wireshark is a UI on top of tcpdump that understands various protocols, including http, so it can show it nicely formatted.

korny15:10:18

+1 to wireshark - it’s awesome and very handy.