FSOFT Oil and Gas SME knowledge sharing pages. Information and photos displayed here are sourced from the internet, and maybe subjected to copyright by their respective site's owner.
Drilling the well alone won’t tell us if there is any oil and gas underground.
Well logging is the practice of making detailed record of the properties of the rock and fluids of the downhole reservoir. It is required to understand the oil and gas potential of the well. Well logging can be done while drilling, called “Logging While Drilling” (also called “Measurement While Drilling”) or by Wireline.
Wireline logging is performed by lowering a “logging tool” - or a string of one or more instruments - on the end of an electrical cable (wireline) into the well and recording downhole data. This data is then analyzed by a specialist (most of the time the Petrophysicist), and the resulting intepretation is used to assess the economic viability of the oilfield.

Simple diagram of a Wireline job in action
Wireline logging is usually done by services company. Services company may offer one or more of different logging tool, each contains sensors that measure a specific set of data.
There are a wide range of technologies employed by wireline logging. Brief information on some of them are listed below.
The radioactive type logging tools measure the naturally occurring or induced radioactivity of the downhole formation (rock and fluid). The information is then analyzed to derive lithology content, density or porosity of the rock. There are three main type of radioactive logs: natural gamma ray, density using induced gamma ray, and porosity using neutron.
This tool measures the naturally occured gamma ray activity in the rock. Gamma ray in nature is produced by three main element: thorium, potassium and uranium. The sum of all three gamma ray activities (total gamma ray) is used to indicate how much shale are there in the rock, while individually they indicate the kind of shale presences.
Note that conventionally, shale are rock that do not contain producible oil or gas. The exception being oil/gas shale, as in unconventional oil/gas.

A log display with total and individual gamma ray
Besides being used as lithology tool, gamma ray log is also used as correlation log between different record of the same well, or between wells.
Density tool uses a strong chemical gamma ray source and bombards the formation with high energy gamma ray. The sensors in the tool measure the interaction of the gamma with the formation to determine its density.
Density tool is often fitted with a mechanical arm to help forcing the measuring pad to be closer to the borehole wall. This arm (also called “caliper”) is also used to measure the size of the hole.

A density tool with pad and opened caliper
With some assumption about the type of fluid in the formation and its density, density log can be used to derive porosity.
Porosity of a formation is the amount of space filled with fluid in the rock. Porosity is important information because it shows if the rock may contain oil or gas.
Porosity log is commonly measured using neutron tool. This tool uses chemical neutron source, or electrically generated neutron source(called Pulsed Neutron). The neutrons enter and interact with the formation, the recorded data is used to derive the formation’s porosity.

Diagram of a simple neutron tool with source and two detectors
The first log ever recorded in the history of the oil and gas industry was an electrical log. Electrical log mainly measures the electrical resistivity of the formation.
There are two main type of electrical logs: resistivity log and borehole imaging log.
Resistivity tools use electrodes that expose to the wellbore and inject electrical current into the formation. The tools have many electrodes that also measure the returned signal after they have traveled through the formation.
The acquired signal is processed to produce the resistivity information of the rock and its fluid. Hydrocarbon (Oil and Gas) do not conduct electricity and hence rocks filled with hydrocarbon would have a higher resistivity value.

Diagram of a simple resistivity tool with one each transmitter - receiver
Borehole imaging tools use tiny electrode packed together to produce resistivity image of the wellbore. This image is “normalized” to increase the contrast between different parts of the wellbore so it can be intepreted easier.
The wellbore image is used to detect fractures or other geological features of the well.

A fullbore imaging tool

The image produced by a fullbore imaging tool
Acoustic and sonig logging tools use sound wave at different frequencies to measure various properties of the formation. One of those is called “formation slowness”, it is the time it takes for sound to travel a unit of distance in the rock. Acoustic/sonic logging method is also used to measure the inside of the wellbore, and produce an image similar in use to the one produced by the resistivtiy method.

Simple diagram of a 2 transmitters, 4 receivers sonic tool
One of the key application of acoustic/sonic logging is to evaluate the quality of the casing’s cement. It is also used to detect internal and external condition of the casing or tubing.

A corrosion log of a ultra-sonic imaging tool
Logging tool may have mechanical arms that measure the internal diameter of the wellbore, produce “caliper” log. Simple caliper log may come from a single arm tool, while multi-finger tool will produce detail caliper “image” of the inside of the well for casing or tubing damage assessment, where acoustic corrosion tool is restricted due to its size.

A caliper log showing the hole profile

Multi-finger tool use for assessing internal casing and tubing damage
Other tools have drill bit, pressure sensor, pump and downhole containers to collect and capture rock samples, or formation fluids for further analysis.

A pressure and sample collection tool in action

The drill bit of a mechical sidewall coring tool, with the core in its shaft
Nuclear Magnetic Resonance (NMR) tool utilizes the physical phenomenon that a nuclei in a strong static magnetic field are perturbed by a weak oscillating magnetic field. This results in a weak electromagnetic signal that can be detected and used to characterize various properties of downhole rock and fluid.
In the oilfield, the nuclei in focus is the hydrogen nuclei. As hydrogen is present in both water and hydrocarbon, knowing how much hydrogen is there is nearly equal with knowing how much fluid is there in the rock.
The same NMR principle is used in the health care industry with the MRI machine (Magnetic Resonance Imager).
Nuclear Magnetic Resonance is complex science. To better understand this principle, please first watch this series of NMR training video by the late Dr. Paul Callaghan on youtube at this link.
A very good explanation of NMR logging technology can be found here.

Typical display of a NMR log