ldnclj

Find us on #clojure-uk
agile_geek 2015-10-16T06:31:14.000318Z

Bore da

agile_geek 2015-10-16T06:34:46.000319Z

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

thomas 2015-10-16T07:54:18.000321Z

Ma Tie

thomas 2015-10-16T07:54:53.000322Z

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

agile_geek 2015-10-16T08:48:05.000323Z

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

thomas 2015-10-16T08:48:28.000324Z

ok cool, looking forward to it.

thomas 2015-10-16T08:48:36.000325Z

and if you have any question please let me know

agile_geek 2015-10-16T08:48:49.000326Z

@thomas: will do 😄

quentin 2015-10-16T08:49:27.000327Z

isn’t 25 Sunday ? 😄

gjnoonan 2015-10-16T08:51:40.000328Z

@agile_geek: Sut mae?

agile_geek 2015-10-16T08:52:23.000329Z

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

quentin 2015-10-16T09:05:15.000331Z

okay :simple_smile:

xlevus 2015-10-16T09:21:54.000332Z

I might put a submission in this weekend.

agile_geek 2015-10-16T09:25:25.000333Z

@xlevus: W00t! 👏

xlevus 2015-10-16T09:45:48.000334Z

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.

thomas 2015-10-16T09:46:19.000335Z

@xlevus: sounds like a good deal to me

pupeno 2015-10-16T11:40:20.000336Z

Hello.

thomas 2015-10-16T12:46:16.000337Z

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

xlevus 2015-10-16T12:50:39.000338Z

tcpdump :D

thomas 2015-10-16T12:55:42.000339Z

yes.. just looking at that....

thomas 2015-10-16T12:55:53.000340Z

doesn't make lots of sense though 😞

xlevus 2015-10-16T12:55:58.000341Z

which server are you talking about?

thomas 2015-10-16T12:56:16.000342Z

I have been using compojure with ring/jetty

thomas 2015-10-16T12:56:30.000343Z

with tcmpdump I just see lots of ascii...

thomas 2015-10-16T12:56:45.000344Z

but nothing that looks like a http command

xlevus 2015-10-16T12:56:54.000345Z

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

pupeno 2015-10-16T12:57:04.000346Z

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

xlevus 2015-10-16T12:57:10.000347Z

^ is correct answer

pupeno 2015-10-16T12:57:22.000348Z

otherwise, look how to set up jetty logging.

thomas 2015-10-16T12:57:34.000349Z

hmm good idea... I like the logging

pupeno 2015-10-16T12:57:38.000350Z

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

thomas 2015-10-16T12:57:52.000351Z

nothing in front of it...

thomas 2015-10-16T12:57:58.000352Z

test environment

pupeno 2015-10-16T12:58:20.000353Z

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

thomas 2015-10-16T13:00:02.000354Z

ok thanks... looking at that now

thomas 2015-10-16T13:09:34.000355Z

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

thomas 2015-10-16T13:09:36.000356Z

:simple_smile:

thomas 2015-10-16T13:13:35.000357Z

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

pupeno 2015-10-16T13:16:56.000358Z

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

thomas 2015-10-16T13:27:23.000359Z

tcpdump told me all I needed

pupeno 2015-10-16T13:42:04.000360Z

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

korny 2015-10-16T15:44:18.000361Z

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